pyvista.plotting.themes.Theme.camera#

property Theme.camera[source]#

Return or set the default camera position.

Examples

Set both the position and viewup of the camera.

>>> import pyvista as pv
>>> pv.global_theme.camera.position = [1.0, 1.0, 1.0]
>>> pv.global_theme.camera.viewup = [0.0, 0.0, 1.0]