Skip to content

Commit 5b90a27

Browse files
committed
Merge pull request #851 from pelson/quitkey
Simple GUI interface enhancements
2 parents dc19faa + d7a4ae2 commit 5b90a27

13 files changed

+381
-266
lines changed

doc/users/navigation_toolbar.rst

+12-11
Original file line numberDiff line numberDiff line change
@@ -83,23 +83,24 @@ Navigation Keyboard Shortcuts
8383

8484
The following table holds all the default keys, which can be overwritten by use of your matplotlibrc (#keymap.\*).
8585

86-
================================== ==============================================
86+
================================== =================================================
8787
Command Keyboard Shortcut(s)
88-
================================== ==============================================
88+
================================== =================================================
8989
Home/Reset **h** or **r** or **home**
9090
Back **c** or **left arrow** or **backspace**
9191
Forward **v** or **right arrow**
9292
Pan/Zoom **p**
9393
Zoom-to-rect **o**
94-
Save **s**
95-
Toggle fullscreen **f**
96-
Constrain pan/zoom to x axis hold **x**
97-
Constrain pan/zoom to y axis hold **y**
98-
Preserve aspect ratio hold **CONTROL**
99-
Toggle grid **g**
100-
Toggle x axis scale (log/linear) **L** or **k**
101-
Toggle y axis scale (log/linear) **l**
102-
================================== ==============================================
94+
Save **ctrl** + **s**
95+
Toggle fullscreen **ctrl** + **f**
96+
Close plot **ctrl** + **w**
97+
Constrain pan/zoom to x axis hold **x** when panning/zooming with mouse
98+
Constrain pan/zoom to y axis hold **y** when panning/zooming with mouse
99+
Preserve aspect ratio hold **CONTROL** when panning/zooming with mouse
100+
Toggle grid **g** when mouse is over an axes
101+
Toggle x axis scale (log/linear) **L** or **k** when mouse is over an axes
102+
Toggle y axis scale (log/linear) **l** when mouse is over an axes
103+
================================== =================================================
103104

104105
If you are using :mod:`matplotlib.pyplot` the toolbar will be created
105106
automatically for every figure. If you are writing your own user

0 commit comments

Comments
 (0)