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 32a3292 commit 549ce85Copy full SHA for 549ce85
1 file changed
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