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 37ad476 commit ab4a691Copy full SHA for ab4a691
1 file changed
lib/matplotlib/dviread.py
@@ -1031,6 +1031,8 @@ def find_tex_file(filename, format=None):
1031
"""
1032
1033
if six.PY3:
1034
+ # we expect these to always be ascii encoded, but use utf-8
1035
+ # out of caution
1036
if isinstance(filename, bytes):
1037
filename = filename.decode('utf-8', errors='replace')
1038
if isinstance(format, bytes):
0 commit comments