PlanesAssembly.labels#
- property PlanesAssembly.labels: tuple[str, str, str][source]#
Return or set the labels for the planes.
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
>>> planes = pv.PlanesAssembly()
>>> planes.labels = ['Sagittal', 'Coronal', 'Transverse']
>>> planes.labels
('Sagittal', 'Coronal', 'Transverse')