Save or pickle pyplot object

Hi!

I would like to save a pyplot object as it is, including axes, lines,
text, etc. into a file.
When opening it again, I want to be able to add additional axes, lines
and so on.

Unfortunately pickle does not handle the pyplot object and gives me an
error.

Anyone knows a solution?

All the best
Aki

This has been an often requested feature, but much harder to implement than expected. There is currently no known solution to this problem, but I certainly would hope that it becomes possible.

Sorry I could not be of more help.
Ben Root

···

On Tue, Mar 29, 2011 at 8:35 AM, Andreas Reisinger <andreas.reisinger@…3515…> wrote:

Hi!

I would like to save a pyplot object as it is, including axes, lines,

text, etc. into a file.

When opening it again, I want to be able to add additional axes, lines

and so on.

Unfortunately pickle does not handle the pyplot object and gives me an

error.

Anyone knows a solution?

All the best

Aki

Hi Ben,

Thanks anyway for your answer!

Aki

Benjamin Root wrote:

···

On Tue, Mar 29, 2011 at 8:35 AM, Andreas Reisinger > <andreas.reisinger@…3515… <mailto:andreas.reisinger@…3515…>> > wrote:

    Hi!

    I would like to save a pyplot object as it is, including axes, lines,
    text, etc. into a file.
    When opening it again, I want to be able to add additional axes, lines
    and so on.

    Unfortunately pickle does not handle the pyplot object and gives me an
    error.

    Anyone knows a solution?

    All the best
    Aki

This has been an often requested feature, but much harder to implement
than expected. There is currently no known solution to this problem,
but I certainly would hope that it becomes possible.

Sorry I could not be of more help.
Ben Root

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

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd

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

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