On Thu, Oct 16, 2008 at 9:18 PM, Paul Ivanov <[EMAIL PROTECTED]> wrote: > Hi, > > I'm a big fan of keyboard shortcuts, so I decided to add these guys to > lib/matplotlib/backend_bases.py > > I'm not sure if this is too much, and maybe these should be configurable > down the line, but here's my first stab at it, what do you all think? > > in the same order as they appear in the toolbar: > 'h' or 'r' for Home/Reset > left arrow or 'z' or backspace for Back > right arrow and 'x' for Forward > 'p' for pan axes with right, zoom with left mode toggle > 'o' for z*o*om to rectangle mode toggle > 's' for save
> 'z' and 'x' I borrowed from the Opera browser, very handy to for > righties who can have their left hand on the keyboard while using the mouse. Hi Paul, I'm amenable to additional keys, but check out http://matplotlib.sourceforge.net/users/navigation_toolbar.html which details which keys are already in play. Also, with your patch, please submit a patch against the navigation toolbar doc doc/users/navigation_toolbar.rst . Maybe a ReST table that details all of the key bindings? Thanks, 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