Re: [Matplotlib-users] executing function when view interval changes

2009-08-17 Thread Jae-Joon Lee
I took a stab at this during the weekends and a patch is attached. 1) introduces a new command subplot2grid. e.g., subplot2grid(shape=(3,3), loc=(0,0), colspan=3) it still creates a Subplot instance. 2) subplot command can take a SubplotSpec instance which is created using the GridSpec. gs = G

Re: [Matplotlib-users] executing function when view interval changes

2009-08-01 Thread John Hunter
On Sat, Aug 1, 2009 at 7:32 PM, Alan G Isaac wrote: > On 8/1/2009 4:07 PM Thomas Robitaille apparently wrote: >> Since matplotlib is about to hit 0.99, > > > Which reminds me, was there a decision on subplot2grid etc? > http://sourceforge.net/mailarchive/message.php?msg_name=6e8d907b0905172009j21b5

Re: [Matplotlib-users] executing function when view interval changes

2009-08-01 Thread Alan G Isaac
On 8/1/2009 4:07 PM Thomas Robitaille apparently wrote: > Since matplotlib is about to hit 0.99, Which reminds me, was there a decision on subplot2grid etc? http://sourceforge.net/mailarchive/message.php?msg_name=6e8d907b0905172009j21b5077fp242c7598ee9fb2c9%40mail.gmail.com> Alan Isaac ---

Re: [Matplotlib-users] executing function when view interval changes

2009-08-01 Thread Thomas Robitaille
John Hunter-4 wrote: > > On Thu, Feb 12, 2009 at 2:13 PM, Ryan May wrote: >> On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: >>> >>> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > >> Well, I checked in an example that shows the functionality. The problem >> is >> that using these ev

Re: [Matplotlib-users] executing function when view interval changes

2009-02-13 Thread Ryan May
On Fri, Feb 13, 2009 at 6:24 AM, John Hunter wrote: > On Thu, Feb 12, 2009 at 2:13 PM, Ryan May wrote: > > On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: > >> > >> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > > > Well, I checked in an example that shows the functionality. The probl

Re: [Matplotlib-users] executing function when view interval changes

2009-02-13 Thread John Hunter
On Thu, Feb 12, 2009 at 2:13 PM, Ryan May wrote: > On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: >> >> On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > Well, I checked in an example that shows the functionality. The problem is > that using these events doesn't follow the standard event

Re: [Matplotlib-users] executing function when view interval changes

2009-02-12 Thread Ryan May
On Wed, Feb 11, 2009 at 7:30 PM, John Hunter wrote: > On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > > > 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 > > htt

Re: [Matplotlib-users] executing function when view interval changes

2009-02-11 Thread John Hunter
On Wed, Feb 11, 2009 at 2:49 PM, Ryan May wrote: > 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 ? We should -

Re: [Matplotlib-users] executing function when view interval changes

2009-02-11 Thread Ryan May
On Wed, Feb 11, 2009 at 2:34 PM, Thomas Robitaille < thomas.robitai...@gmail.com> 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. M