Hans Georg Schaathun <h.schaat...@surrey.ac.uk> writes: > : import matplotlib > : matplotlib.use('agg') > : import pylab > : pylab.plot([1, 3, 5]) > : fig = file('foo.png', 'wb') > : pylab.savefig(fig, format='png') > : fig.close() > > Raster graphics is not good enough
#ig = file('foo.png', 'wb' pylab.savefig('foo.png', format='pdf') that's all -- http://mail.python.org/mailman/listinfo/python-list