On Tue, Sep 16, 2008 at 3: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.
>
> Thanks a lot,
>
>  Josef

As you've already been told, you can't pickle/shelve mpl objects.  Our
solution to this is to have a native python shadow object that
contains all the bits and pieces needed to create a figure, and always
build the plots from these shadow objects.  This gives us the
advantage of being able to shelve the shadow objects and rebuild the
figures later.  Of course, we're doing this in context of a large
program using the mpl api, so if you're just using pylab, you're a bit
SOL.

A>

-------------------------------------------------------------------------
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

Reply via email to