From db7e6baf47ee40ed16c21f00f7ed6df00b88f8b1 Mon Sep 17 00:00:00 2001 From: Firas Date: Wed, 1 May 2024 13:48:47 -0600 Subject: [PATCH] Fixed a minor bug where images were not scaling properly --- src/Recipes/SeisImageRecipe.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Recipes/SeisImageRecipe.jl b/src/Recipes/SeisImageRecipe.jl index bdbbc8c..5ce8f18 100644 --- a/src/Recipes/SeisImageRecipe.jl +++ b/src/Recipes/SeisImageRecipe.jl @@ -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)