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
Which would then simply feed forward those arguments as the axis.{part}.x.bottom arguments to the theme(). One could have similar subthemes for the legend, the panel etc. It might also encourage a more ordered approach of theme specification, instead of the wild west that is currently theme declarations.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I have two ideas for making themes slightly easier to use.
Element shortcuts
Often, you simply want to switch a theme element on or off.
For example if you want to put axis lines on and legend titles off, you can use:
It would be neat if we could write:
Subtheme
Another idea for theme specification, is that we could have subtheme functions. So instead of writing this:
We could write this:
Which would then simply feed forward those arguments as the
axis.{part}.x.bottom
arguments to thetheme()
. One could have similar subthemes for the legend, the panel etc. It might also encourage a more ordered approach of theme specification, instead of the wild west that is currently theme declarations.The text was updated successfully, but these errors were encountered: