- mne.viz.ui_events.unsubscribe(fig, event_names, callback=None, *, verbose=None)#
Unsubscribe from an event on a figure’s event channel.
The figure of which event channel to unsubscribe from.
Select which events to stop subscribing to. Can be a single string event name, a list of event names or
"all"which will unsubscribe from all events.
The callback function that should be unsubscribed, leaving all other callback functions that may be subscribed untouched. By default (
None) all callback functions are unsubscribed from the event.
- verbosebool |