Skip to content

Add interactive controls to plot_evoked_topo #11892

Open

Description

@wmvanvliet

Describe the new feature or enhancement

After a frustrating meeting with the professor and a PhD student where we wanted to take a look a the evoked responses from our pilot data, here's a request:

Could we please make plot_evoked_topo more interactive in the following ways:

  • Buttons / hotkeys for increasing/decreasing ylim
  • Buttons / hotkeys for selecting only mags, grads, joining grads
  • Legend present inside the new plots that open when you click on a channel

And a bug:

The default ylims for grads and mags are a bit off. The grads are too small.

Describe your proposed implementation

Added event handlers to the matplotlib figure generated by plot_evoked_topo.

Describe possible alternatives

change and re-run your code very time you want to change any of the above.

Additional context

No response

Activity

  1. self-assigned this
    on Aug 17, 2023
  2. larsoner commented on Aug 17, 2023

    @larsoner
    Member

    Yes I think plot_evoked_topomap interactivity and options should also exist and be reused for plot_topo, and vice-versa (to the extent possible for the two plot types)

  3. larsoner commented on Aug 17, 2023

    @larsoner
    Member

    ... or added to both (where possible) in the case that they're missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions