Closed asinghvi17 closed 2 weeks ago
Can you add a before/after for that example? Just to know what we gain from the extension
(Would you need to use an Int instead of Y or a Symbol?)
Before you would just have to put a symbol. But here you can put the dimension type directly. You can also select dimensions with e.g. DD.XDim
if you're not sure what the name is, since on a DimTable this actually queries dimensions.
So something like data(some_dimarray_lat_lon_axes) * mapping(XDim, YDim, color = :RandomData) * visual(Scatter)
just works. Even if the dim names are Lon and Lat, if they're subtypes of XDim and YDim the selectors will do the job.
Ok I'm in
Ah didn't know that was a thing! Will add it.
Thanks!!!!
This adds AoG selector support to DimensionalData dims, so that things like this just work:
They actually work anywhere by getting the dimension symbol from
DD.name
, so you can run these ondata(DataFrame(dimtable))
withX
as well!Fix #821