Open eliascarv opened 4 months ago
We are trying to make use of the new unit support in Makie, but can't do it currently because of the issues listed above. Is there a specific place in the source code that we can look into to help fix all of them?
Most of the plot object setup starts in interfaces.jl. For units it should be this:
https://github.com/MakieOrg/Makie.jl/blob/225d0ae0e7c9db3bc43b2642327ee9a8ee84fed4/src/interfaces.jl#L220
Which continues in
https://github.com/MakieOrg/Makie.jl/blob/225d0ae0e7c9db3bc43b2642327ee9a8ee84fed4/src/dim-converts/dim-converts.jl#L177-L193
and the other files in that folder. I'd guess you'll need to add a bunch of should_dim_convert()
and convert_dim_value()
methods.
Thank you @ffreyer for sharing directions. We didn't have time to look into it. Any help is appreciated.
I made a list of some plot methods that I use that don't work with units. MWE: