-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Description
An underlying problem (likely outside matplotlib) is causing a NameError when trying to raise a FileNotFoundError in python2:
...snippet...
File "/home/duncan.macleod/.local/lib/python2.6/site-packages/matplotlib/dviread.py", line 150, in _read
self._dispatch(byte)
File "/home/duncan.macleod/.local/lib/python2.6/site-packages/matplotlib/dviread.py", line 233, in _dispatch
self._fnt_def(k, c, s, d, a, l, n)
File "/home/duncan.macleod/.local/lib/python2.6/site-packages/matplotlib/dviread.py", line 390, in _fnt_def
raise FileNotFoundError("missing font metrics file: %s" % fontname)
NameError: global name 'FileNotFoundError' is not definedLooks like there needs to be a six.PY3 check to define this exception if required.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels