pyvista.Plotter.clear_events_for_key

pyvista.Plotter.clear_events_for_key#

Plotter.clear_events_for_key(key, raise_on_missing=False)[source]#

Remove the callbacks associated to the key.

Parameters:
keystr

Key to clear events for.

raise_on_missingbool, default: False

Whether to raise a ValueError if there are no events registered for the given key.