Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

native format for figures #323

Closed
ddale opened this issue Jun 20, 2011 · 4 comments
Closed

native format for figures #323

ddale opened this issue Jun 20, 2011 · 4 comments
Assignees

Comments

@ddale
Copy link
Contributor

ddale commented Jun 20, 2011

Original report at SourceForge, opened Wed Feb 4 17:55:56 2009

In Matlab we have ability to save figures to .fig format. Gnuplot also has same ability cause save figures as scripts and data. It allows us:

  1. To reopen figure for light editing without program execution.
  2. To retrieve points data for curves for editing.
  3. To copy curves from one figure to another. It is really great!!!

E-mail: kkott00@gmail.com

SourceForge Comments

On Fri Apr 23 05:23:50 2010, nobody wrote:

Seconding! The ability to easily pickle or otherwise save & reload both data and figure configuration is lacking terribly. Lots of figures have to be altered later on for publication, presentation etc. Currently the full python code for loading the data and creating the figure has to be kept -- /very/ old-fashioned, I'd say.

On Sun Jun 7 09:37:49 2009, jdh2358 wrote:

This would indeed be a great feature. We have experimented with it in the past trying to pickle matplotlib figures, but have encountered problems with pickling CXX extension code, on which mpl relies heavily.

@ghost ghost assigned pelson Jul 1, 2012
@tkf
Copy link
Contributor

tkf commented Jul 5, 2012

I would like to have this feature too! How about using this technique http://stackoverflow.com/a/9325185/727827 to make classes defined in C picklable?

@pelson
Copy link
Member

pelson commented Jul 5, 2012

I've done some initial work into the feasibility of pickling figures - and its looking promising. I expect to make a PR for it in the next week or so.

@tkf
Copy link
Contributor

tkf commented Jul 5, 2012

Cool!

@pelson
Copy link
Member

pelson commented Sep 2, 2012

matplotlib now has experimental pickling support which will be available from 1.2. Realistically this is the furthest that I can envisage us going in terms of providing our own "native format for figures": The overhead of managing and maintaining such a feature would swamp any other work we do.

@pelson pelson closed this as completed Sep 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants