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 dbc8b9e commit 93fad55Copy full SHA for 93fad55
1 file changed
lib/matplotlib/dviread.py
@@ -769,11 +769,11 @@ class PsfontsMap(object):
769
Usage::
770
771
>>> map = PsfontsMap(find_tex_file('pdftex.map'))
772
- >>> entry = map['ptmbo8r']
+ >>> entry = map[b'ptmbo8r']
773
>>> entry.texname
774
- 'ptmbo8r'
+ b'ptmbo8r'
775
>>> entry.psname
776
- 'Times-Bold'
+ b'Times-Bold'
777
>>> entry.encoding
778
'/usr/local/texlive/2008/texmf-dist/fonts/enc/dvips/base/8r.enc'
779
>>> entry.effects
0 commit comments