Skip to content

Commit

Permalink
Update ShapefileMakieExt.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Apr 27, 2024
1 parent 6add0af commit 58160a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/ShapefileMakieExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GeoInterfaceMakie.@enable Shapefile.LinearRing
Makie.plottype(tbl::Shapefile.Table) = Makie.plottype(Shapefile.shapes(tbl))
Makie.plottype(shp::Shapefile.Handle) = Makie.plottype(Shapefile.shapes(shp))

for T in (Any, Type{<:Makie.AbstractPlot}, Type{<:Makie.Poly}, Type{<:Makie.Lines}, Makie.PointBased)
for T in (Any, Union{Type{Any}, Type{<:Makie.AbstractPlot}}, Type{<:Makie.Poly}, Type{<:Makie.Lines}, Makie.PointBased)
@eval begin
Makie.convert_arguments(t::$T, tbl::Shapefile.Table) =
Makie.convert_arguments(t, Shapefile.shapes(tbl))
Expand Down

0 comments on commit 58160a1

Please sign in to comment.