pyvista.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

>>> import pyvista as pv
>>> axes_actor = pv.AxesAssembly()
>>> axes_actor.label_position
(0.8, 0.8, 0.8)
>>> axes_actor.label_position = 0.3
>>> axes_actor.label_position
(0.3, 0.3, 0.3)
>>> axes_actor.label_position = (0.1, 0.4, 0.2)
>>> axes_actor.label_position
(0.1, 0.4, 0.2)