8000 Bug in how supported filetypes are found. · matplotlib/matplotlib@85f9411 · GitHub
[go: up one dir, main page]

Skip to content

Commit 85f9411

Browse files
Bug in how supported filetypes are found.
1 parent 05745e9 commit 85f9411

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@ def _print_method(*args, **kwargs):
18291829

18301830
if (format not in self.filetypes or
18311831
not hasattr(self, method_name)):
1832-
formats = self.filetypes.iterkeys()
1832+
formats = self.filetypes.keys()
18331833
formats.sort()
18341834
raise ValueError(
18351835
'Format "%s" is not supported.\n'

0 commit comments

Comments
 (0)
0