Skip to content

Commit

Permalink
Fix extract_svg_path when is_xaxis_log = true
Browse files Browse the repository at this point in the history
Because
* We were overwritting the data array.
  • Loading branch information
pmc4 committed Apr 16, 2024
1 parent 4d74b61 commit 87721b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function extract_svgpath(input_str::AbstractString, outfile::String, options::Di
data[:,2] .= (data[:,2] .- yp0) .* yunits .+ yr0
# If axis scale is log, we have obtained the exponents of the base 10. Exponentiate
if options["isxlog"]
data = exp10.(data[:,1])
data[:,1] = exp10.(data[:,1])
end
if options["isylog"]
data[:,2] .= exp10.(data[:,2])
Expand Down

0 comments on commit 87721b5

Please sign in to comment.