Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 778f4da

Browse filesBrowse files
authored
Merge pull request #14164 from timhoffm/fix-dvipng-version-regexp
Fix regexp for dvipng version detection
2 parents ce1c9da + 4859562 commit 778f4da
Copy full SHA for 778f4da

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/__init__.py

Copy file name to clipboardExpand all lines: lib/matplotlib/__init__.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ def impl(args, regex, min_ver=None):
331331
f"{' '.join(args)}, which output {output}")
332332

333333
if name == "dvipng":
334-
return impl(["dvipng", "-version"], "(?m)^dvipng .* (.+)", "1.6")
334+
return impl(["dvipng", "-version"], "(?m)^dvipng(?: .*)? (.+)", "1.6")
335335
elif name == "gs":
336336
execs = (["gswin32c", "gswin64c", "mgs", "gs"] # "mgs" for miktex.
337337
if sys.platform == "win32" else

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.