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, andz_labelseparately.
Examples#
Download Python source code | Download Jupyter notebook
>>> 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')