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 4e2780c commit 4cdd4bdCopy full SHA for 4cdd4bd
1 file changed
lib/matplotlib/backends/backend_pgf.py
@@ -317,7 +317,7 @@ def __init__(self):
317
stdin=subprocess.PIPE,
318
stdout=subprocess.PIPE,
319
cwd=self.tmpdir)
320
- except OSError, e:
+ except OSError as e:
321
if e.errno == errno.ENOENT:
322
raise OSError(errno.ENOENT, "Latex command not found. "
323
"Install '%s' or change pgf.texsystem to the desired command."
0 commit comments