> That's doing it, thought there might be an internal way within matplotlib,
> but I could figure one.

I think you can use the agg backend and the corresponding Canvas'es method

canvas.tostring_rgb()

.  Then you can load this in PIL by Image.fromstring.

Well, I simply send you my PIL backend.  Tell me if it's still working ...

Friedrich

Attachment: canvas.py
Description: Binary data

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to