pyvista.PlanesAssembly.label_mode

pyvista.PlanesAssembly.label_mode#

property PlanesAssembly.label_mode: Literal['2D', '3D'][source]#

Mode to use for text labels.

Mode must be either '2D' or '3D'. In 2D mode, the label actors are always visible and have a constant size regardless of window size. In 3D mode, the label actors may be occluded by other geometry and will scale with changes to the window size. The two modes also have minor differences in appearance as well as behavior in terms of how they follow the camera.