pyvista.Camera.clipping_range#

property Camera.clipping_range[source]#

Return or set the location of the clipping planes.

Clipping planes are the near and far clipping planes along the direction of projection.

Examples

>>> import pyvista as pv
>>> pl = pv.Plotter()
>>> pl.camera.clipping_range
(0.01, 1000.01)
>>> pl.camera.clipping_range = (1, 10)
>>> pl.camera.clipping_range
(1.0, 10.0)
../../../_images/pyvista-Camera-clipping_range-1_00_00.png