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

Skip to content

Commit 7cdd61f

Browse files
committed
Fix: positional argument specifiers are required by Python 2.6
1 parent ccb923e commit 7cdd61f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def _get_key(self, event):
467467
# note, shift is not added to the keys as this is already accounted for
468468
for bitmask, prefix, key_name in modifiers:
469469
if event.state & (1 << bitmask) and key_name not in key:
470-
key = '{}+{}'.format(prefix, key)
470+
key = '{0}+{1}'.format(prefix, key)
471471

472472
return key
473473

0 commit comments

Comments
 (0)