[matplotlib-devel] numpy

2006-09-25 Thread Steven Chaplin
When using the latest matplotlib from svn and numpy version 0.9.6 I get: $ ./simple_plot.py Traceback (most recent call last): File "./simple_plot.py", line 6, in ? from pylab import * File "/usr/lib/python2.4/site-packages/pylab.py", line 1, in ? from matplotlib.pylab import * File

Re: [matplotlib-devel] print_figure(), savefig() and file-like objects

2006-07-21 Thread Steven Chaplin
On Fri, 2006-07-21 at 17:21 -0500, Ken McIvor wrote: > On Jul 20, 2006, at 7:53 AM, Steven Chaplin wrote: > > > > However, print_figure() does not support writing to file objects in > > different formats because it only takes a 'filename' argument and > > d

[matplotlib-devel] print_figure(), savefig() and file-like objects

2006-07-20 Thread Steven Chaplin
I just updated backend_cairo.py to work with the latest version of pycairo. The cairo backend can now output PNG, PDF, PS and SVG to a filename or a file-like object. However, print_figure() does not support writing to file objects in different formats because it only takes a 'filename' argument a