mne-tools / mne-tools/mne-python
Add viz.plot_annotations() & Annotations.plot()
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 1.6k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 100
Description
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().
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with mne.viz.plot_events() and the Annotations.plot() entry point to understand the existing visualization API and how an info structure is used. Done means both mne.viz.plot_annotations() and Annotations.plot() are available and behave similarly to plot_events() for visualizing Annotations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100