Skip to content

Add viz.plot_annotations() & Annotations.plot() #7720

@hoechenberger

Description

@hoechenberger

Describe the problem

Currently there is no easy way to directly visualize Annotations. I always have to convert them to events first and then use mne.viz.plot_events(), which seems pretty awkward.

Describe your solution

Similarly to mne.viz.plot_events(), there should be mne.viz.plot_annotations() and Annotations.plot(). They would require the user to pass an info structure, and otherwise work similarly to plot_events().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions