save figure object

Hi,

Thanks for your answer! I really appreciate it. Are there any examples of ProjectFigure classes out there from which I could learn how to implement such a functionality?

Best wishes,
Anita

-------- Original-Nachricht --------

···

Datum: Wed, 3 Nov 2010 17:04:54 -0700
Von: Chloe Lewis <chlewis@...1016...>
An: Anita Graser <anitagraser@...1843...>
Betreff: Re: [Matplotlib-users] save figure object

Hi;

I don't think so, though I'm no expert. A common thing to do, with
other good side-effects, is to set up your data in a systematic way
and write ProjectFigure classes that easily deal with your data; then
pickle the data and make a figure with ProjectFigure when you un-
pickle it. That 'live' figure can be tweaked before you save an image,
or perhaps you can improve the whole ProjectFigure class. (Other
niceties: decide how you want to do print, onscreen, overhead images,
and switch fonts and weights and sizes in the custom Figure class; etc.)

Not the same as Matlab, though.

&C

On Nov 3, 2010, at 3 Nov, 7:31 AM, Anita Graser wrote:

> Hi,
>
> I'm looking for a way to save Matplotlib figure objects the way
> Matlab can do it. I found the same request from 2008:
>
>
http://sourceforge.net/mailarchive/forum.php?thread_name=48D02DF2.2020401%40lanl.gov&forum_name=matplotlib-users
>
> The answer basically was "There is currently no easy way".
>
> Has the status changed since 2008?
>
> Best wishes,
> Anita
> --
> GMX DSL Doppel-Flat ab 19,99 &euro;/mtl.! Jetzt auch mit
> gratis Notebook-Flat! http://portal.gmx.net/de/go/dsl
>
>
------------------------------------------------------------------------------
> Achieve Improved Network Security with IP and DNS Reputation.
> Defend against bad network traffic, including botnets, malware,
> phishing sites, and compromised hosts - saving your company time,
> money, and embarrassment. Learn More!
> http://p.sf.net/sfu/hpdev2dev-nov
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Chloe Lewis
Ecosystem Sciences, Policy and Management, UC Berkeley
137 Mulford Hall
Berkeley, CA 94720-3114
http://nature.berkeley.edu/~chlewis

--
Sicherer, schneller und einfacher. Die aktuellen Internet-Browser -
jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser