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

Skip to content

Commit 24e5955

Browse files
committed
zoom pan buttons order
1 parent f5fbe17 commit 24e5955

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)