reset_clipping_range

Camera.reset_clipping_range()

Reset the camera clipping range based on the bounds of the visible actors.

Examples

>>> import pyvista
>>> pl = pyvista.Plotter()
>>> _ = pl.add_mesh(pyvista.Sphere())
>>> pl.camera.clipping_range = (1, 2)
>>> pl.camera.reset_clipping_range()  
(0.0039213485598532955, 3.9213485598532953)