Joey Wilson wrote:
> I would like to be able to save the figures from 
> matplotlib in an editable form, without flattening down to an image 
> file. 

> Now, I understand that resources are limited, so I would be willing to 
> raise some money to get this feature added to Matplotlib. 

I think to do this right, you'd need to completely re-design MPL to be 
based on a more declarative structure: i.e. you'd define what the 
objects were in a figure, and MPL would generate the figure from the 
declaration -- much like how an drawing is generated from SVG. Maybe 
it's not as big a re-factor I think it is, but it seems that MPL is 
built to be used from a scripting interface instead: a series of 
commands that builds the figure.

Honestly, for your purposes, I don't know that there is much difference. 
I suppose what you are looking for a is a way to get a script that you 
could edit and re-run, but have it generated from a figure 
automatically, the figure itself could have been generated by a 
different script (intermeshed with computational code), or an 
interactive session, or....

That would be pretty cool, but I think a bit of re-factoring of your 
process would make it pretty easy to edit and re-run your scripts anyway.

> I 
> would really like to completely replace Matlab with Python,Scipy, and 
> Matplotlib.

How does Matlab handle this? In my Matlab days, I wrote scripts that 
generated my figures, and when I needed to change them, I edited the 
scripts and re-ran them -- exactly the workflow we're suggesting for 
Python/MPL. But that was 10 years ago...

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to