From: Reckoner <rec...@gm...> - 2009-09-18 02:46:37
|
thanks. does this mean that http://www.scipy.org/Cookbook/Matplotlib/mplot3D is out of date? thanks On Thu, Sep 17, 2009 at 6:22 PM, John Hunter <jd...@gm...> wrote: > On Thu, Sep 17, 2009 at 6:46 PM, Reckoner <rec...@gm...> wrote: >> unless I'm misunderstanding something, the website says that >> >> matplotlib-0.99.0.win32-py2.5 >> >> should contain the axes3d material. It doesn't. Instead, it axes3d.py >> contains the following: >> >> raise NotImplementedError('axes3d is not supported in matplotlib-0.98. >> You may want to try the 0.91.x maintenance branch') >> >> note that I am on a Windows machine and I'm not sure I can build >> everything from the trunk. > > It looks like you are having tow problems -- first, you apparently > installed a new matplotlib over an old matplotlib and so there are > some old files laying around. Blow away site-packages/matplotlib and > reinstall. See > > http://matplotlib.sourceforge.net/faq/installing_faq.html#cleanly-rebuild-and-reinstall-everything > > Secondly, you need to be importing mplot3d from mpl_toolkits, it's new > location. You appear to be importing it from matplotlib.axes3d, it's > old location which is now deprecated. Eg see > > http://matplotlib.sourceforge.net/mpl_toolkits/mplot3d/tutorial.html > > Hope this helps, > JDH > |