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

Skip to content

Commit 02832c9

Browse files
committed
Merge pull request matplotlib#1721 from mdboom/issue_1721
rcParams.keys() is not Python 3 compatible
2 parents 10bf587 + b66b7d4 commit 02832c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ def keys(self):
733733
"""
734734
Return sorted list of keys.
735735
"""
736-
k = dict.keys(self)
736+
k = list(dict.keys(self))
737737
k.sort()
738738
return k
739739

0 commit comments

Comments
 (0)