|
From: Sebastian B. <seb...@si...> - 2012-03-15 10:59:13
|
Hey, last weekend I wrote a hook which can track figure creation. Basically it takes care of creating the new figure and wraps it to track all changes to it. Its a hack, and the code is not cleaned up or tested much, but I like to do scripts that I run with many parameters to create plots and it works well to allow me to open the figures in a way that I can zoom, etc. and would allow editing (a bit) later on too. So while I doubt the approach can be made something serious, and there are probably things that don't work (right now 3D Axis can be done with a bit extra but mouse zooming does not work inside a 3D Axis, though I think its likely not difficult to change), I thought I would put it online because I am not aware of any way to save matplotlib figures: https://github.com/seberg/haunter-for-matplotlib-figures Maybe someone finds it useful or interesting :) Regards, Sebastian Berg |