Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ee7e25

Browse files
committed
zoom pan buttons order
1 parent def3a52 commit 9ee7e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ def _mouse_move(self, event):
948948
"""Default tools"""
949949

950950
default_toolbar_tools = [['navigation', ['home', 'back', 'forward']],
951-
['zoompan', ['zoom', 'pan']],
951+
['zoompan', ['pan', 'zoom']],
952952
['layout', ['subplots']],
953953
['io', ['save']]]
954954
"""Default tools in the toolbar"""

0 commit comments

Comments
 (0)