pyvista.plotting.themes._AxesConfig#
- class _AxesConfig[source]#
PyVista axes configuration.
Examples
Set the x axis color to black.
>>> import pyvista as pv >>> pv.global_theme.axes.x_color = 'black'
Show axes by default.
>>> pv.global_theme.axes.show = True
Use the
vtk.vtkCubeAxesActor
.>>> pv.global_theme.axes.box = True
Methods
Attributes
Use the
vtk.vtkCubeAxesActor
instead of the defaultvtk.vtkAxesActor
.Show or hide the axes actor.
Return or set x axis color.
Return or set y axis color.
Return or set z axis color.