rafaqz / Extents.jl

A shared Extent object for Julia spatial data, with DE-9IM spatial predicates
MIT License
4 stars 3 forks source link

Extent as axis limits in Makie? #28

Open tiemvanderdeure opened 2 weeks ago

tiemvanderdeure commented 2 weeks ago

It could be pretty neat if you could pass in an Extent object as the limit keyword when making an Axis in Makie.

I guess all that would be needed is a tiny extension that just does the limits = (ext.X..., ext.Y...) conversion automatically. `

rafaqz commented 2 weeks ago

Not sure how the dispatch will work?

But I think Makie already depends on Extents so it will have to be there not here, and wont need an extension.