Steve,
I am aware of the caveats associated with the "name" attribute, which
is why the code I sent you attempts to do the right thing when it
doesn't exist. I hadn't considered the case of stdout, but you could
probably detect situations like that by testing to see if the
extension is th
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
> > does not
> > have an argument to allow yo
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