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

Skip to content

Commit 56fe6b2

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_gtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def _get_key(self, event):
341341
[gdk.MOD1_MASK, 'alt'],
342342
[gdk.CONTROL_MASK, 'ctrl'],):
343343
if event.state & key_mask:
344-
key = '{}+{}'.format(prefix, key)
344+
key = '{0}+{1}'.format(prefix, key)
345345

346346
return key
347347

0 commit comments

Comments
 (0)