Skip to content

Conversation

@wmvanvliet
Copy link
Contributor

@wmvanvliet wmvanvliet commented Mar 1, 2024

I guess this got lost at some point. mne.viz.Brain.add_text should by default use _fg_color for the color of the text, but didn't and defaulted to always be black, even when the background color of the figure is black.

@wmvanvliet wmvanvliet requested a review from larsoner as a code owner March 1, 2024 13:09
@larsoner larsoner merged commit 62a0c40 into mne-tools:main Mar 1, 2024
@larsoner
Copy link
Member

larsoner commented Mar 1, 2024

Thanks @wmvanvliet !

larsoner added a commit to vpKumaravel/mne-python that referenced this pull request Mar 1, 2024
* upstream/main:
  Fix default color of mne.viz.Brain.add_text (mne-tools#12470)
snwnde pushed a commit to snwnde/mne-python that referenced this pull request Mar 20, 2024
@wmvanvliet wmvanvliet deleted the textcolor branch July 18, 2024 06:11
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.

3 participants