FIX missing Axes3D import in viz._3d._plot_mpl_stc#8811
FIX missing Axes3D import in viz._3d._plot_mpl_stc#8811larsoner merged 2 commits intomne-tools:mainfrom
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. |
agramfort
left a comment
There was a problem hiding this comment.
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 <larson.eric.d@gmail.com>
* 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 Axes3Additional 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.