Theme.axes

Contents

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.

Use the axes orientation box as the orientation widget.