Re: [matplotlib-devel] [Matplotlib-users] Double zooming with twinx

2008-04-20 Thread John Hunter
On Mon, Apr 7, 2008 at 8:38 AM, Manuel Metz <[EMAIL PROTECTED]> wrote: > The problem is that "release_zoom" in backend_bases.py is called twice in > the above case if zoomed to a twinx'ed plot. One way to fix this behavior is > to set a "twin" attribute to the axes instance. Attached is a patch a

Re: [matplotlib-devel] [Matplotlib-users] Double zooming with twinx

2008-04-07 Thread Manuel Metz
Manuel Metz wrote: Paul Smith wrote: I'm plotting two curves in one subplot with twinx to allow different y scales. The script below is an example. When zooming in using zoom-to-rect on Tk's navigation toolbar2 (TkAgg is my backend) I think the x axis part of the zoom is happening twice. Rubbe

Re: [matplotlib-devel] [Matplotlib-users] Double zooming with twinx

2008-04-07 Thread Manuel Metz
Paul Smith wrote: I'm plotting two curves in one subplot with twinx to allow different y scales. The script below is an example. When zooming in using zoom-to-rect on Tk's navigation toolbar2 (TkAgg is my backend) I think the x axis part of the zoom is happening twice. Rubberbanding the exampl