disable_picking#

Plotter.disable_picking()#

Disable any active picking.

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(left_clicking=True)
>>> pl.disable_picking()
../../../_images/pyvista-Plotter-disable_picking-1_00_00.png