Describe the new feature or enhancement
Currently, mne.viz.plot_evoked_topo function doesn't have TimeChange event attached, which means that while other figures could synchronise the time step in plots, this function can't.
Describe your proposed implementation
Luckily, the magnified plot (single time series line plot) already has a motion detection event which attaches to the cursor swipe. This provides an excellent UI interaction starting point.
On the other hand, the logic of implementing on_time_change and its event, publishing and subscribing, could follow existing examples such as the one from _brain/_brain.py, topomap.py, and evoked_field.py.
Describe possible alternatives
I believe this is straightforward enough to have an obvious way to implement this, referencing existing implementations.
Additional context
No response
Describe the new feature or enhancement
Currently,
mne.viz.plot_evoked_topofunction doesn't haveTimeChangeevent attached, which means that while other figures could synchronise the time step in plots, this function can't.Describe your proposed implementation
Luckily, the magnified plot (single time series line plot) already has a motion detection event which attaches to the cursor swipe. This provides an excellent UI interaction starting point.
On the other hand, the logic of implementing
on_time_changeand its event, publishing and subscribing, could follow existing examples such as the one from_brain/_brain.py,topomap.py, andevoked_field.py.Describe possible alternatives
I believe this is straightforward enough to have an obvious way to implement this, referencing existing implementations.
Additional context
No response