Skip to content

Commit

Permalink
Fix Makie Breakage (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Alec Hammond <[email protected]>
  • Loading branch information
smartalecH and Alec Hammond authored Jan 11, 2024
1 parent 3e3171d commit a1539b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion src/util/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a1539b8

Please sign in to comment.