Hello, I have a simple live-update thread (basically calls set_xdata and set_ydata on all lines with the new data, then calls canvas.draw() on all figures).
1. I would like to zoom the figure to contain the whole data range after each update, but ONLY in case the figure zoom was not changed manuallu One idea was to connect to resize_event and scroll_event of the canvas, notifying my code that the zoom was change. But in such a case, clicking "home" will not revert to automatic zooming. Is there some better way? 2. Is there an event to be notified when the figure window is close by the user? Cheers, Vaclav ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users