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)
https://d33wubrfki0l68.cloudfront.net/8d857d80b4aa52de3ad5db22f6e1210632178bb4/4b0e9/_images/pyvista-camera-clipping_range-1_00_00.png