AxesAssembly.label_position#
- property AxesAssembly.label_position: tuple[float, float, float][source]#
Position of the text label along each axis.
By default, the labels are positioned at the ends of the shafts.
Values must be non-negative.
Examples#
Download Python source code | Download Jupyter notebook
>>> import pyvista as pv
>>> axes_assembly = pv.AxesAssembly()
>>> axes_assembly.label_position
(0.8, 0.8, 0.8)
>>> axes_assembly.label_position = 0.3
>>> axes_assembly.label_position
(0.3, 0.3, 0.3)
>>> axes_assembly.label_position = (0.1, 0.4, 0.2)
>>> axes_assembly.label_position
(0.1, 0.4, 0.2)