enable_parallel_projection#
- Camera.enable_parallel_projection()[source]#
Enable parallel projection.
The camera will have a parallel projection. Parallel projection is often useful when viewing images or 2D datasets, but will look odd when viewing 3D datasets.
Examples
>>> import pyvista >>> from pyvista import demos >>> pl = pyvista.demos.orientation_plotter() >>> pl.enable_parallel_projection() >>> pl.show()