You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As asked several time on the github, there is no documentation for tweaking LScenes.
With the right keywords, one can find that LScene().scene[OldAxis] allows to get access to some axis attributes that one can modify after the LScene block was initiated.
I would like to theme a LScene() for a recipe I am making, say axis name by default, its color and the ticks etc, but there is no documentation to do so.
The documentation gives in the Theme section :
Theming block objects
Every Block such as Axis, Legend, Colorbar, etc. can be themed by using its type name as a key in your theme.
Here is how you could define a simple ggplot-like style for your axes:
Does not work and I am clueless on how to apply a function in the theme, say getindex to get the OldAxis object from the scene.
I believe, you wanted to ultimately give public attributes to the LScene like an Axis3 or a normal Axis, but in the meantime, the absence of accessible attributes or documentation makes it annoying to tweak !
The text was updated successfully, but these errors were encountered:
Thanks a lot for the quick answer, it does work. I just made the PR with the link to the issue, added your example and how to access the themable attributes of Axis3D.
Feature description
As asked several time on the github, there is no documentation for tweaking LScenes.
With the right keywords, one can find that LScene().scene[OldAxis] allows to get access to some axis attributes that one can modify after the LScene block was initiated.
I would like to theme a LScene() for a recipe I am making, say axis name by default, its color and the ticks etc, but there is no documentation to do so.
The documentation gives in the Theme section :
Theming block objects
Every Block such as Axis, Legend, Colorbar, etc. can be themed by using its type name as a key in your theme.
Here is how you could define a simple ggplot-like style for your axes:
But it is not obvious (possible ?) how to modify the working examples :
Does not work and I am clueless on how to apply a function in the theme, say getindex to get the OldAxis object from the scene.
I believe, you wanted to ultimately give public attributes to the LScene like an Axis3 or a normal Axis, but in the meantime, the absence of accessible attributes or documentation makes it annoying to tweak !
The text was updated successfully, but these errors were encountered: