On 2/7/07, Edin Salkovic <[EMAIL PROTECTED]> wrote: > Why can't mpl's figures be pickled?
The main thing is we need to add pickle support for all of mpl's extension code http://docs.python.org/lib/node321.html In earlier attempts people got stuck with trying to pickle the CXX extension code, which was causing some problems, but these problems may be fixed in more recent versions of CXX. Todd Miller was the last person to look at this in some detail, I think. Other hinderances may come from the GUI layer, since figures store pointers to their canvases which in some cases come from GUI extension code that may not support pickling. But we can fairly easy decouple the figure from the canvas at pickle time and deal with pure mpl, numpy and python objects. The main work is to add pickle serialization to the mpl extension code. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users