diff --git a/Project.toml b/Project.toml index d176c27..5bc91f9 100644 --- a/Project.toml +++ b/Project.toml @@ -12,7 +12,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2" StaticArrays = "90137ffa-7385-5640-81b9-e52037218182" [compat] -Makie = "0.16,0.17,0.18,0.19" +Makie = "0.20" julia = "1.7" StaticArrays = "1.5" diff --git a/src/util/plotting.jl b/src/util/plotting.jl index 5e92cb6..1b0dd4f 100644 --- a/src/util/plotting.jl +++ b/src/util/plotting.jl @@ -29,7 +29,7 @@ function Makie.plot!(ds::DrawShape{<:Tuple{Shape2}}) end # Define the new signature of contour!() used in drawshape!() for 2D shapes. -function Makie.convert_arguments(P::SurfaceLike, shp::Shape2, res::NTuple{2,Integer}) +function Makie.convert_arguments(P::GridBased, shp::Shape2, res::NTuple{2,Integer}) lower, upper = bounds(shp) ∆ = upper - lower