John Hunter wrote: > On Tue, Sep 16, 2008 at 5:06 PM, Josef Koller <[EMAIL PROTECTED]> wrote: >> Hi folks, >> I would like to save preliminary figures for later processing and >> refinement with matplotlib. Is there a way to save or pickle a figure >> object and later reload it. Matlab has a feature like that and and I was >> wondering if matplotlib has it too. > > No, it doesn't exist. We've taken a stab at it once or twice, but > have been stymied because we make extensive use of a python extension > libray CXX, and these objects have resisted our attempts to pickle > them. With our recent transforms refactoring, which removes the > hairiest CXX dependency, it may be worth taking another look, but > noone is currently working on it.
My sense, based on very little experience, is that pickles of complicated objects are very fragile, so even if we could pickle figures, I fear it might cause more trouble ("I can't load this absolutely critical figure I pickled 6 months ago") than it would be worth. Eric ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users