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 3b26ee6

Browse filesBrowse files
authored
Merge pull request #14238 from meeseeksmachine/auto-backport-of-pr-14164-on-v3.1.x
Backport PR #14164 on branch v3.1.x (Fix regexp for dvipng version detection)
2 parents 13f8d86 + d555baa commit 3b26ee6
Copy full SHA for 3b26ee6

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
@@ -330,7 +330,7 @@ def impl(args, regex, min_ver=None):
330330
f"{' '.join(args)}, which output {output}")
331331

332332
if name == "dvipng":
333-
return impl(["dvipng", "-version"], "(?m)^dvipng .* (.+)", "1.6")
333+
return impl(["dvipng", "-version"], "(?m)^dvipng(?: .*)? (.+)", "1.6")
334334
elif name == "gs":
335335
execs = (["gswin32c", "gswin64c", "mgs", "gs"] # "mgs" for miktex.
336336
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.