Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c032fc1

Browse filesBrowse files
committed
Sync keyboard shortcuts for fullscreen toggle
1 parent 1fa4dd7 commit c032fc1
Copy full SHA for c032fc1

File tree

Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+3
-3
lines changed

‎doc/users/navigation_toolbar.rst

Copy file name to clipboardExpand all lines: doc/users/navigation_toolbar.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ Forward **v** or **right arrow**
9393
Pan/Zoom **p**
9494
Zoom-to-rect **o**
9595
Save **ctrl** + **s**
96-
Toggle fullscreen **ctrl** + **f**
96+
Toggle fullscreen **f** or **ctrl** + **f**
9797
Close plot **ctrl** + **w**
9898
Close all plots **shift** + **w**
9999
Constrain pan/zoom to x axis hold **x** when panning/zooming with mouse

‎lib/matplotlib/backend_bases.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backend_bases.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2486,7 +2486,7 @@ def key_press_handler(event, canvas, toolbar=None):
24862486
toggle_xscale_keys = rcParams['keymap.xscale']
24872487
all_keys = rcParams['keymap.all_axes']
24882488

2489-
# toggle fullscreen mode (default key 'f')
2489+
# toggle fullscreen mode ('f', 'ctrl + f')
24902490
if event.key in fullscreen_keys:
24912491
try:
24922492
canvas.manager.full_screen_toggle()

‎matplotlibrc.template

Copy file name to clipboardExpand all lines: matplotlibrc.template
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ backend : $TEMPLATE_BACKEND
587587
# Customize these settings according to your needs.
588588
# Leave the field(s) empty if you don't need a key-map. (i.e., fullscreen : '')
589589

590-
#keymap.fullscreen : f # toggling
590+
#keymap.fullscreen : f, ctrl+f # toggling
591591
#keymap.home : h, r, home # home or reset mnemonic
592592
#keymap.back : left, c, backspace # forward / backward keys to enable
593593
#keymap.forward : right, v # left handed quick navigation

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.