Skip to content

Fix misbehaving legend colors in plot_evoked_topo#11277

Merged
larsoner merged 5 commits intomne-tools:mainfrom
teekuningas:fix-legend-colors
Oct 25, 2022
Merged

Fix misbehaving legend colors in plot_evoked_topo#11277
larsoner merged 5 commits intomne-tools:mainfrom
teekuningas:fix-legend-colors

Conversation

@teekuningas
Copy link
Copy Markdown
Contributor

Reference issue

Fixes #11258.

What does this implement/fix?

Lines of the first plot are now explicitly passed to plt.legend as handles.

Includes one test.

@teekuningas
Copy link
Copy Markdown
Contributor Author

These failed tests seem unrelated..?

Co-authored-by: Alexandre Gramfort <alexandre.gramfort@m4x.org>
@larsoner larsoner mentioned this pull request Oct 25, 2022
@larsoner
Copy link
Copy Markdown
Member

Argh, test failures are unrelated I think. I'll see if I can fix some of them at least

@larsoner
Copy link
Copy Markdown
Member

The latest commit only changed the docs and those are green so I'll merge. Thanks @teekuningas !

@larsoner larsoner merged commit fcf2770 into mne-tools:main Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Legend colors misbehave on plot_evoked_topo

3 participants