[Fairly new at matplotlib, but very happy with it so far]

Is it possible to retrieve images rendered by one of the backends as an
object, rather than just saving to a file?  

Specifically, I need to render graphs to SVG code, that I can turn into a
DOM object for further manipulation.  I can save to a temp file and
immediately reload it into a DOM, but that is cumbersome in a single
program.

The only place I can see to generate rendered output is savefig().  There is
a reference in the documentation to using a file-like object with the Cairo
backend.  Is that the only possibility?

If so, any ideas on a workaround other than temp files?
-- 
View this message in context: 
http://www.nabble.com/rendered-objects-%28esp.-SVG%29-tf4952354.html#a14180802
Sent from the matplotlib - users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to