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.
2 parents feec983 + 549ce85 commit 4505791Copy full SHA for 4505791
lib/matplotlib/texmanager.py
@@ -74,7 +74,7 @@ def dvipng_hack_alpha():
74
except OSError:
75
mpl.verbose.report('No dvipng was found', 'helpful')
76
return False
77
- lines = stdout.decode('ascii').split('\n')
+ lines = stdout.decode(sys.getdefaultencoding()).split('\n')
78
for line in lines:
79
if line.startswith('dvipng '):
80
version = line.split()[-1]
0 commit comments