From 58160a11f95497dc908b44917f3d490f24cdcb22 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Sat, 27 Apr 2024 08:13:58 -0400 Subject: [PATCH] Update ShapefileMakieExt.jl --- ext/ShapefileMakieExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/ShapefileMakieExt.jl b/ext/ShapefileMakieExt.jl index 8253456..1ff486b 100644 --- a/ext/ShapefileMakieExt.jl +++ b/ext/ShapefileMakieExt.jl @@ -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))