mne.viz.ui_events.link#
- mne.viz.ui_events.link(*figs, include_events=None, exclude_events=None, recursive=False, 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
tupleofmatplotlib.figure.Figure|tupleofFigure3D The figures whose event channel will be linked.
- include_events
listofstr|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
listofstr|None Select which events not to publish across figures. By default (
None), no events are excluded.- recursivebool
If
True, also link the existing link-groups that figs already belong to, so all members are mutually linked.- 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