Skip to content

Commit 8bc2580

Browse files
committed
BUG : extra .keys was making six explode
1 parent 01b9365 commit 8bc2580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@ def pilread(fname):
12551255
if im is None:
12561256
raise ValueError('Only know how to handle extensions: %s; '
12571257
'with PIL installed matplotlib can handle '
1258-
'more images' % list(six.iterkeys(handlers.keys)))
1258+
'more images' % list(six.iterkeys(handlers)))
12591259
return im
12601260

12611261
handler = handlers[ext]

0 commit comments

Comments
 (0)