AxesActor.shaft_length#
- property AxesActor.shaft_length: tuple[float, float, float][source]#
Return or set the length of the axes shaft.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> axes = pv.Axes()
>>> axes.axes_actor.shaft_length
(0.8, 0.8, 0.8)
>>> axes.axes_actor.shaft_length = 0.7
>>> axes.axes_actor.shaft_length
(0.7, 0.7, 0.7)
>>> axes.axes_actor.shaft_length = (1.0, 0.9, 0.5)
>>> axes.axes_actor.shaft_length
(1.0, 0.9, 0.5)