pyvista.AxesAssembly.labels#

property AxesAssembly.labels: tuple[str, str, str][source]#

Return or set the axes labels.

This property may be used as an alternative to using x_label, y_label, and z_label separately.

Examples

>>> import pyvista as pv
>>> axes_actor = pv.AxesActor()
>>> axes_actor.labels = ['X Axis', 'Y Axis', 'Z Axis']
>>> axes_actor.labels
('X Axis', 'Y Axis', 'Z Axis')