Open tkf opened 2 years ago
I do not think there is yet a way to modify an axis attribute from inside a plot recipe (which only touches a set of plots inside of an axis without touching the axis itself). My understanding is that it is this way for now because it is not clear what should happen if two recipes that are used together both want to modify the axis.
This seems like a related issue https://github.com/JuliaPlots/Makie.jl/issues/379
How do I set default x and y labels in the full recipe? I'm trying to do something similar to
xlabel --> "default X label"
in RecipesBase.jl. Here's a code sample that didn't work with Makie v0.15.3I looked at https://makie.juliaplots.org/stable/documentation/recipes/ but it is not clear if this is supported. The only "workaround" I've found was to bypass the recipe system and just define
Makie.plot(::MyPlotData)
directly. #1148 may be somewhat related but I'm not sure.I think it is either a documentation request or a feature request, depending on if this is already possible.