Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9ef229 commit 6be06d2Copy full SHA for 6be06d2
1 file changed
lib/matplotlib/cbook.py
@@ -20,7 +20,7 @@
20
21
try:
22
preferredencoding = locale.getpreferredencoding()
23
-except ValueError:
+except (ValueError, ImportError):
24
preferredencoding = None
25
26
def unicode_safe(s):
0 commit comments