pyvista.Camera.up

Contents

pyvista.Camera.up#

property Camera.up[source]#

Return or set the “up” of the camera.

Examples

>>> import pyvista as pv
>>> pl = pv.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