pyvista.Plotter.enable_parallel_projection

pyvista.Plotter.enable_parallel_projection#

Plotter.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.

Examples

>>> import pyvista as pv
>>> from pyvista import demos
>>> pl = pv.demos.orientation_plotter()
>>> pl.enable_parallel_projection()
>>> pl.show()
../../../_images/pyvista-Plotter-enable_parallel_projection-1_00_00.png