mne.viz.ui_events.link#
- mne.viz.ui_events.link(*figs, include_events=None, exclude_events=None, verbose=None)[source]#
Link the event channels of two figures together.
When event channels are linked, any events that are published on one channel are simultaneously published on the other channel. Links are bi-directional.
- Parameters:
- *figs
tuple
ofmatplotlib.figure.Figure
|tuple
ofFigure3D
The figures whose event channel will be linked.
- include_events
list
ofstr
|None
Select which events to publish across figures. By default (
None
), both figures will receive all of each other’s events. Passing a list of event names will restrict the events being shared across the figures to only the given ones.- exclude_events
list
ofstr
|None
Select which events not to publish across figures. By default (
None
), no events are excluded.- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- *figs
Examples using mne.viz.ui_events.link
#
Using the event system to link figures