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

Skip to content

Commit 5302eff

Browse files
committed
Fix: positional argument specifiers are required by Python 2.6
1 parent debb95f commit 5302eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_qt4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ def _get_key( self, event ):
337337
# prepend the ctrl, alt, super keys if appropriate (sorted in that order)
338338
for modifier, prefix, Qt_key in self._modifier_keys:
339339
if event.key() != Qt_key and int(event.modifiers()) & modifier == modifier:
340-
key = u'{}+{}'.format(prefix, key)
340+
key = u'{0}+{1}'.format(prefix, key)
341341

342342
return key
343343

0 commit comments

Comments
 (0)