Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
Hi, I recently grabbed the 1.5.x version of matplotlib from github and get some errors when using the 3d plotting demos on the matplotlib website. See below for an output. I am running python 2.7.8_2 from homebrew. I get the same error for both demo scripts. Has something changed in 1.5.x such that the demos are calling things differently?
The plotting window appears but shows nothing inside, accept for a line along the x axis at z=0. See image attached.
Cheers
James
Mac OS X 10.10.1 Yosemite
James@Jamess-MBP>python-ilines3d_demo.pyTraceback (mostrecentcalllast):File"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-macosx-10.10-x86_64.egg/matplotlib/artist.py",line59,indraw_wrapperdraw(artist,renderer,*args,**kwargs)File"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/matplotlib-1.5.x-py2.7-macosx-10.10-x86_64.egg/matplotlib/figure.py",line1090,indrawfunc(*args)File"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py",line273,indrawax.draw(renderer)File"/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axis3d.py",line264,indrawself.axes.transAxes.transform(peparray[0:2,0]))ValueError:Expected2-dimensionalarray,got1
after a few seconds with the figure open this appears:
/usr/local/Cellar/python/2.7.8_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/mpl_toolkits/mplot3d/axes3d.py:1094:FutureWarning:comparisonto`None`willresultinanelementwiseobjectcomparisoninthefuture.ifself.button_pressedinself._rotate_btn:
[TAC edited formatting]