Skip to content

Commit

Permalink
Overload Makie.transform_func for geoaxis (#297)
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Dec 12, 2024
1 parent c77dc2f commit 1d1b4b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/geoaxis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,11 @@ Makie.@Block GeoAxis <: Makie.AbstractAxis begin
end
end

# Makie generic object API
Makie.transform_func(ax::GeoAxis) = ax.transform_func[]

# Spines

const SpinePoint = NamedTuple{(:input, :projected, :dir, :intersect_dir),Tuple{Point2d,Point2d,Point2d,Point2d}}

struct Spines
Expand Down

0 comments on commit 1d1b4b5

Please sign in to comment.