On Sun, Apr 13, 2008 at 6:39 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> The present NavigationToolbar2 is very nice, but I am thinking about an
>  improvement: adding a button that would rotate a constraint among three
>  possibilities, so that pan/zoom and rectangle select could be set to
>  affect only X, only Y, or be left unconstrained as at present.

I assume you know that for panning and zooming, if you hold down the
'x' key the pan/zoom is constrained in the horizontal direction and if
you hold down the 'y' key it is constrained to the vertical direction.
 It would not be hard to add support using these keys to the
zoom-to-rect.  Do you think having a toggle button adds more than
simply using these key presses?

I do think Darren's suggestion of making the toolbar more easily
extensible and configurable is a good one.  A colleague of mine
recently wanted to change the icons, drop a couple of buttons, and add
a couple of new ones, and I think he ended up just pasting in the code
for NavigationToolbar and modifying what he needed.  Not very
attractive from a design persepcetive.

JDH

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to