Paul Ivanov schrieb: > 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 > I like this idea very much. What I would like to see is panning associated with the space bar, like it's done in Adobe Acrobat: panning is only activated _while_ you press space. I think this is more difficult to implement. Once I had a quick look at it and abandonded this project, it was too complicated for me. Perhaps you can manage this?
> '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. > On german keyboards y and z are exchanged. Having these keys configurable would be handy. Gregor ------------------------------------------------------------------------- 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