On Tue, Nov 25, 2008 at 12:16 PM, John Hunter <[EMAIL PROTECTED]> wrote:
> pan/zoom appears to be broken in the sharex axis demo.  If you do a
> zoom to rect on ax2 or ax3 in
> examples/pylab_examples/shared_axis_demo.py the event seems to be
> swallowed, though a zoom in ax1 is respected.

The problem appears to be in the backend_bases
NavigationToolbar2.release_zoom method.  I have updated svn r6447 with

            # JDH: I don't know why this is here but I expect to be
            # able to zoomo on any axis that is shared.  This was
            # breaking zoom-to-rect on shared_axis_demo if the zoom
            # happened in ax2 or ax3 so i am replacing the continue
            # with a pass until this is sorted out
            if a._sharex or a._sharey:
                #continue
                pass

If anyone knows why the continue was/should be there, speak up!

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to