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 87c968b

Browse filesBrowse files
committed
Do not run Windows' file system convert tool
1 parent 595868a commit 87c968b
Copy full SHA for 87c968b

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎lib/matplotlib/animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/animation.py
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,10 @@ def isAvailable(cls):
262262
Check to see if a MovieWriter subclass is actually available by
263263
running the commandline tool.
264264
'''
265+
if platform.system() == 'Windows' and cls.bin_path() == 'convert':
266+
# On Windows, the full path to convert must be specified in
267+
# matplotlibrc since convert is also the name of a system tool.
268+
return False
265269
try:
266270
p = subprocess.Popen(cls.bin_path(),
267271
shell=False,

0 commit comments

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