I’ve spent a lot of time figuring out how to set axis properties in a Makie recipe. I’m convinced this is not possible. Is this the case?
This is from 3 years ago:
What about just applying a theme to the Axis, not a full programmatic access to it? For instance, I was hoping that in this recipe the newly created Axis would have a certain background color, etc, but it seems the theme information was not used in any way.
struct TestStruct
data
end
ts = TestStruct([1,2,3])
@recipe(TestRecipe) do scene
Theme(
Axis = (
backgroundcolor = :gray90,
leftspinevisible = false,
rightspinevisible = false,
bottomspinevisible…
it seems that the problem is not resolved, yet.
For now, it’s enough to pass in the axis style to the make plot recipe. But it would be helpful if the Makie recipe were to define its axes, which is impossible. What was the reasoning for disallowing this?