-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
FIX missing Axes3D import in viz._3d._plot_mpl_stc #8811
Conversation
how come this was not caught by any of the tests? |
was not caught because both axes3d and Axes3D are valid imports. Yet only Axes3D is what you want. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should also maybe backport this.
I know it was working before so we should see when this was changed / broken.
@cjayb can you push a commit to update |
The FYI we were hoping to bypass the need to add |
@cjayb looks like something went wrong. Sorry if I messed things up by pushing a commit to update |
Not sure what happened, go ahead and force-push, I’m offline! |
50797db
to
63550b6
Compare
Thanks @cjayb ! |
* FIX missing Axes3D import in viz._3d._plot_mpl_stc * DOC: Latest Co-authored-by: Eric Larson <[email protected]>
* upstream/main: MRG, ENH: Add warning about bad whitener conditioning (mne-tools#8805) MRG, MAINT: Deprecated param and pytest-qt (mne-tools#8808) fix mne.viz.plot_topomap with some missing grad in a pair (mne-tools#8817) [MRG] Coregistration-GUI: use *.mff as digitization source (mne-tools#8790) FIX: Path [MRG] ENH EGI MFF reader: populate info['dig'] (mne-tools#8789) MRG: Improve Brain UX (mne-tools#8792) FIX missing Axes3D import in viz._3d._plot_mpl_stc (mne-tools#8811) Better error message if configured download folder doesn't exist (mne-tools#8809) MRG, ENH: Add support for other formats to browse_raw (mne-tools#8807) MRG, BUG: Allow depth > 1 (mne-tools#8804)
Reference issue
Fixes #8810 .
What does this implement/fix?
Added the missing
from mpl_toolkits.mplot3d import Axes3
Additional information
Note that I've also modified the same import in
plot_head_positions
:I found this while searching for the actual bug, and remembered reading this recently.