Hi:
I just installed matplolib from source code, and Ipython using pip, in
Ubuntu 11.10.
When I run this code
########### foo.py ############
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
##############################
in ipython, I get the following warning:
In [1]: %run foo.py
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:54: Warning:
ignoring sys.argv: it must be a list of strings
_gtk.init_check()
Other than the warning the plot looks OK.
Also, if I type each sentence in ipython, I don't get the warning. I
don't get a warning if I use the standard python interpreter either
(as in $ python foo.py).
Any clue about this? Should I report this in the Ipython mailing list?
I am running Ipython 0.11 and matplotlib 1.2.x.
Alejandro
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users