-
Notifications
You must be signed in to change notification settings - Fork 262
AttributeError raised in OrthoSlicer3D #920
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
Comments
Guessing this is with a recent matplotlib release? They may have made the method keyword only. |
Yes, latest Oh, looks like @matthew-brett has chased this before: https://discourse.matplotlib.org/t/confusion-about-draw-artist/19891 I'm indeed using macOS. |
I've also found this mysterious warning (cell EDIT: Actually I just realized that you wrote that tutorial :) |
I think this is a duplicate of #433, then. Sorry about the delay, but can you follow-up there, if you learn anything? |
Well, I'll leave it to you to decide if this is a duplicate... Please close if so. :-) |
I would say it's not, although they might be related. I'll keep you posted. |
Any follow ups on this? I recently ran into the same problem. |
I'm using OSX 11.3.1 and I have got the same error. After I set matplotlib backend to import nibabel as nib
from nibabel.viewers import OrthoSlicer3D
import matplotlib
matplotlib.use('TkAgg') # 注意这行要在 import plt之前 It should before import plt
from matplotlib import pylab as plt |
Using the
|
You should click the first window to change view location(it's normal black if the location is (0,0)). And if the Python program is down(ctrl + Z), the figure will close. |
You're right, thanks!
This didn't work for me, but pressing |
I'm trying to visualize a volume using
OrthoSlicer3D
, but get amatplotlib
error:Script:
Output:
The text was updated successfully, but these errors were encountered: