From: Charles R. T. <ct...@ma...> - 2003-10-24 02:35:22
|
Samir, Either call it with "python test.py -dGD" or use this code, with 2 new lines at the beginning. from matplotlib import use use('GD') from matplotlib.matlab import * plot([1,2,3]) savefig('test.png') ---------------- Instructions for installing stuff for GD on the website. But if you just need an image, do -dPS or use('PS') for postscript output. -C -- Ask not what your computer can do for you; ask.... [ Uh-oh. ] |