pyvista.Plotter.disable_picking#

Plotter.disable_picking()[source]#

Disable any active picking and remove observers.

Examples

Enable and then disable picking.

>>> import pyvista as pv
>>> mesh = pv.Sphere(center=(1, 0, 0))
>>> cube = pv.Cube()
>>> pl = pv.Plotter()
>>> _ = pl.add_mesh(mesh)
>>> _ = pl.add_mesh(cube)
>>> _ = pl.enable_mesh_picking()
>>> pl.disable_picking()
https://d33wubrfki0l68.cloudfront.net/5af7e8d683af687052416db6811958365ac8d3ce/97404/_images/pyvista-plotter-disable_picking-1_00_00.png