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.
2 parents 13f8d86 + d555baa commit 3b26ee6Copy full SHA for 3b26ee6
1 file changed
lib/matplotlib/__init__.py
@@ -330,7 +330,7 @@ def impl(args, regex, min_ver=None):
330
f"{' '.join(args)}, which output {output}")
331
332
if name == "dvipng":
333
- return impl(["dvipng", "-version"], "(?m)^dvipng .* (.+)", "1.6")
+ return impl(["dvipng", "-version"], "(?m)^dvipng(?: .*)? (.+)", "1.6")
334
elif name == "gs":
335
execs = (["gswin32c", "gswin64c", "mgs", "gs"] # "mgs" for miktex.
336
if sys.platform == "win32" else
0 commit comments