Skip to content

Commit

Permalink
Merge branch 'master' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
luchr committed Oct 21, 2021
2 parents 9c14c4e + 210bdd0 commit 26f02e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plotrecipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

seriestype := :heatmap
xticks := (LinRange(0, no_pixels[1], no_ticks[1]),
round.(LinRange(imag(z_lowerright), imag(z_upperleft), no_ticks[1]), sigdigits=ticks_sigdigits))
round.(LinRange(real(z_lowerright), real(z_upperleft), no_ticks[1]), sigdigits=ticks_sigdigits))
yticks := (LinRange(0, no_pixels[2], no_ticks[2]),
reverse!(round.(LinRange(real(z_upperleft), real(z_lowerright), no_ticks[2]), sigdigits=ticks_sigdigits)))
reverse!(round.(LinRange(imag(z_upperleft), imag(z_lowerright), no_ticks[2]), sigdigits=ticks_sigdigits)))

img
end
Expand Down Expand Up @@ -58,4 +58,4 @@ function crop_to_circle!(A:Array; radius=0, background_color=RGB{Float64}(1.0,1.
return A
end
"""
"""

0 comments on commit 26f02e9

Please sign in to comment.