|
From: Ryan M. <rm...@gm...> - 2009-02-11 20:49:32
|
On Wed, Feb 11, 2009 at 2:34 PM, Thomas Robitaille < tho...@gm...> wrote: > Hi everyone, > > I wish to execute a certain function every time the view interval of > a figure is updated, for example when it is changed interactively > using the zoom rectangle or home button in WXAgg. Matplotlib must > already be calling certain routines, such as the tick locator and > formatters, but is there a way to execute arbitrary functions when > the view interval is updated? You're looking for 'xlim_changed' and 'ylim_changed'. I know this can be found here: http://matplotlib.sourceforge.net/api/axes_api.html Should we add this to http://matplotlib.sourceforge.net/users/event_handling.html ? Ryan -- Ryan May Graduate Research Assistant School of Meteorology University of Oklahoma Sent from: Norman Oklahoma United States. |