Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MRG: Make Inspector work even if mne-qt-browser is installed #1007

Merged
merged 1 commit into from
May 15, 2022

Conversation

hoechenberger
Copy link
Member

@hoechenberger hoechenberger commented May 15, 2022

We now explicitly request a Matploblib plotting context for bringing up the Inspector. Otherwise, MNE will default to
using the qt-browser if installed, and our current implementation of the Inspector will fail to launch.

This didn't show up in unit tests before as we're using the Agg backend there.

Merge checklist

Maintainer, please confirm the following before merging:

  • All comments resolved
  • This is not your own PR
  • All CIs are happy
  • PR title starts with [MRG]
  • whats_new.rst is updated
  • PR description includes phrase "closes <#issue-number>"

We now explicitly request a Matploblib plotting context for
bringing up the Inspector. Otherwise, our MNE will default to
using the qt-browser, and our current implementation of the
Inspector will fail to launch.
@hoechenberger hoechenberger marked this pull request as ready for review May 15, 2022 11:51
@hoechenberger hoechenberger changed the title Make Inspector work even if mne-qt-browser is installed MRG: Make Inspector work even if mne-qt-browser is installed May 15, 2022
@hoechenberger
Copy link
Member Author

Failing doc build is due to a bug in MNE-NIRS and unrelated to my changes:
mne-tools/mne-nirs#465

@hoechenberger
Copy link
Member Author

This is good to merge from my end.

@sappelhoff sappelhoff merged commit 0984be2 into mne-tools:main May 15, 2022
@sappelhoff
Copy link
Member

Thanks @hoechenberger

@hoechenberger hoechenberger deleted the fix-inspect branch May 15, 2022 15:57
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.

2 participants