Theme.axes#
- property Theme.axes: _AxesConfig[source]#
Return or set the default axes configuration.
Examples#
Download Python source code | Download Jupyter notebook
Set the x-axis color to black.
>>> import pyvista as pv
>>> pv.global_theme.axes.x_color = 'black'
Show the axes orientation widget by default.
>>> pv.global_theme.axes.show = True
Use the axes orientation box
as the orientation widget.
>>> pv.global_theme.axes.box = True
Used In#
Guides
- Composite Datasets (1 use)
- Gridded Data (1 use)
- Partitioned Datasets (1 use)
- Plotting Themes (1 use)
- Point Sets (1 use)
- What Is a Mesh? (1 use)
- Why PyVista? (1 use)
Docstring Examples
_AxesConfig(5 uses)_AxesConfig.box(1 use)_AxesConfig.show(1 use)_AxesConfig.x_color(1 use)_AxesConfig.y_color(1 use)_AxesConfig.z_color(1 use)
Gallery Examples