In order get pylab to work on my Mac I have to do the following (found
by some experimenting):
import matplotlib
matplotlib.use("WXAgg")
import pylab
Does this seem right? I mean, it works, but it seems to be a little
gymnastics to go through rather than just doing
import pylab
which gives
ImportError: No module named gobject
since it can't seem to find that backend in the "backend" directory when
it tries to import backend_gtkagg.py. I guess that doesn't work on the
Mac.
My setup: (Tiger 10.4) Al Laptop, Python 2.4, latest pylab from SciPy
package.
--
Cheers,
Lou Pecora
Code 6362
Naval Research Lab
Washington, DC 20375
USA
Ph: +202-767-6002
email: [EMAIL PROTECTED]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users