pyvista.AxesAssembly.labels

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_assembly = pv.AxesAssembly()
>>> axes_assembly.labels = ['X Axis', 'Y Axis', 'Z Axis']
>>> axes_assembly.labels
('X Axis', 'Y Axis', 'Z Axis')