mne.viz.ui_events.disable_ui_events#

mne.viz.ui_events.disable_ui_events(fig)[source]#

Temporarily disable generation of UI events. Use as context manager.

Parameters:
figmatplotlib.figure.Figure | Figure3D

The figure whose UI event generation should be temporarily disabled.