Skip to content

Commit

Permalink
Fixed a minor bug where images were not scaling properly
Browse files Browse the repository at this point in the history
  • Loading branch information
firasalchalabi committed May 1, 2024
1 parent e1bbabd commit db7e6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Recipes/SeisImageRecipe.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function Makie.plot!(img::SeisImagePlot{<:Tuple{AbstractMatrix{<:Real}}})
transposed_d[] = d'

x[] = (ox, ox + size(d,2)*dx)
y[] = (oy, oy + size(d,2)*dy)
y[] = (oy, oy + size(d,1)*dy)

if (isnothing(vmin) || isnothing(vmax))
if (img.pclip[]<=100)
Expand Down

0 comments on commit db7e6ba

Please sign in to comment.