Theme.camera#
Examples#
Download Python source code | Download Jupyter notebook
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]
Used In#
Docstring Examples
_CameraConfig(2 uses)_CameraConfig.parallel_projection(1 use)_CameraConfig.parallel_scale(1 use)_CameraConfig.position(1 use)_CameraConfig.viewup(1 use)