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

Skip to content

Commit 87c968b

Browse files
committed
Do not run Windows' file system convert tool
1 parent 595868a commit 87c968b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

lib/matplotlib/animation.py

Lines 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)