pyvista.Camera.parallel_scale

pyvista.Camera.parallel_scale#

property Camera.parallel_scale[source]#

Return or set the scaling used for a parallel projection.

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.parallel_scale
1.0
>>> pl.camera.parallel_scale = 2.0
>>> pl.camera.parallel_scale
2.0
../../../_images/pyvista-Camera-parallel_scale-1_00_00.png