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 eb9250a commit f5396cfCopy full SHA for f5396cf
1 file changed
lib/matplotlib/afm.py
@@ -201,7 +201,7 @@ def _parse_char_metrics(fh):
201
vals = filter(lambda s: s != b'', line.split(b';'))
202
vals = dict(map(lambda s: tuple(s.strip().split(b' ', 1)), vals))
203
# check for the required metrics
204
- if any([id not in vals.keys() for id in (b'C', b'WX', b'N', b'B')]) :
+ if any([id not in vals.keys() for id in (b'C', b'WX', b'N', b'B')]):
205
raise RuntimeError('Bad char metrics line: %s' % line)
206
num = _to_int(vals[b'C'])
207
wx = _to_float(vals[b'WX'])
0 commit comments