up

property Camera.up

Return or set the “up” of the camera.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> pl.camera.up
(0.0, 0.0, 1.0)
>>> pl.camera.up = (0.410018, 0.217989, 0.885644)
>>> pl.camera.up
(0.410018, 0.217989, 0.885644)
../../../_images/pyvista-Camera-up-1_00_00.png