pyvista.Camera.reset_clipping_range#
- Camera.reset_clipping_range()[source]#
Reset the camera clipping range based on the bounds of the visible actors.
Examples
>>> import pyvista as pv >>> pl = pv.Plotter() >>> _ = pl.add_mesh(pv.Sphere()) >>> pl.camera.clipping_range = (1, 2) >>> pl.camera.reset_clipping_range() (0.0039213485598532955, 3.9213485598532953)