You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
tkf commentedon 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 commentedon 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 commentedon Jul 5, 2012
Cool!
pelson commentedon 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.