From: Eric E. <eem...@es...> - 2010-11-17 20:18:50
|
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. |