Dear Ben
thanks a lot for this thoughful answer.

When I use only "ipython" and not "ipython -pylab" IT WORKS!!!

So this is a problem with "ipython -pylab" call...
Any thought of why this is?

I provide more info below

thanks for any help there.

Eric

P.S.: Here is the output of my setup:

In [1]: matplotlib.__file__
Out[1]: '/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyc'

In [6]: mpl_toolkits.mplot3d.__file__
Out[6]: '/usr/lib64/python2.6/site-packages/mpl_toolkits/mplot3d/__init__.pyc'

A funny one is that I have to import mpl_toolkits first and then mplot3d, and
when I do this I get:
In [5]: from mpl_toolkits import mplot3d
try this

I am not sure the "try this" is meant to be there....


P.P.S.:
Here is my detailed setup when I do ipython -pylab

matplotlib data path /usr/lib64/python2.6/site-packages/matplotlib/mpl-data
matplotlib version 1.0.0
verbose.level helpful
interactive is False
units is False
platform is linux2
Your PyGtk has set_interactive(), so you can use the
more stable single-threaded Gtk mode.
See https://bugs.launchpad.net/ipython/+bug/270856

backend GTKAgg version 2.17.0
Python 2.6.5 (r265:79063, Jul  5 2010, 11:46:13)


IPython 0.10 -- An enhanced Interactive Python.

------------------------------------------------------------------------------
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