On Tue, Nov 16, 2010 at 10:48 AM, Eric Emsellem <eemse...@eso.org> wrote:

> Hi,
>
> I have just installed the svn version of matplotlib and basemap + numpy
> from the
> svn repository of
>
> http://download.opensuse.org/repositories/home:/ocefpaf/openSUSE_11.3/x86_64/
>
> When I do:
> =======================================================
> ipython -pylab
> (matplotlib 1.0.0, backend GTKAgg version 2.17.0, openSuse 11.3 x86_64)
>
> import numpy as np
> from mpl_toolkits.mplot3d import Axes3D
> import matplotlib.pyplot as plt
>
> fig = plt.figure()
> ax = fig.add_subplot(111, projection='3d')
> ========================================================
> I get a
>
> ValueError: Unknown projection '3d'
>
> I did the upgrade to the svn version because the previous one (which was
> already
> 1.0) gave me the same message...
>
> what's wrong here?
> (looked at the web and couldn't find out a good solution, beyond the
> upgrade I did)
>
> thanks in advance
> Eric
>
>
>
Eric,

Could you please execute the following:

import matplotlib
print matplotlib.__version__

and report back what it says?  I suspect that when you installed the svn
version, the original version of matplotlib is still getting loaded.  The
projection='3d' feature is brand new to 1.0.0.

Ben Root
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to