Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7e9c756

Browse files
authored
Merge pull request #13787 from anntzer/animwin
Fix failure to import matplotlib.animation on Windows.
2 parents 4d29cf2 + 3fcb40e commit 7e9c756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def impl(args, regex, min_ver=None):
363363
for name in ["convert.exe", "magick.exe"]:
364364
candidate = Path(binpath, name)
365365
if candidate.exists():
366-
path = candidate
366+
path = str(candidate)
367367
break
368368
else:
369369
path = "convert"

0 commit comments

Comments
 (0)