pyvista.plotting.themes.Theme.axes#

property Theme.axes: _AxesConfig[source]#

Return or set the default axes configuration.

Examples

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