rafaqz / DimensionalData.jl

Named dimensions and indexing for julia arrays and other data
https://rafaqz.github.io/DimensionalData.jl/stable/
MIT License
262 stars 38 forks source link

`dimsmatch` on `name` so that `X` matches `Dim{:X}` #696

Closed rafaqz closed 2 months ago

rafaqz commented 2 months ago

Closes #459

@lazarusA @felixcremer I think we talked about this... turns out its ridiculously simple.

But this PR means X will match with Dim{:X} and similar as the have the same name anyway, would go in the same dataframe column and use the same keyword syntax, etc.

The weird part is that Dim{:X} still wont plot on the X axis - we need to switch to traits for that and its harder. But this is a start to that I guess.

Maybe we should switch to trait-based plotting and axis association in this same breaking change?