MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / isAvailable

Method isAvailable

lib/matplotlib/animation.py:371–375  ·  view source on GitHub ↗

Return whether a MovieWriter subclass is actually available.

(cls)

Source from the content-addressed store, hash-verified

369
370 @classmethod
371 def isAvailable(cls):
372 """Return whether a MovieWriter subclass is actually available."""
373 if sys.platform == 'emscripten':
374 return False
375 return shutil.which(cls.bin_path()) is not None
376
377
378class FileMovieWriter(MovieWriter):

Callers

nothing calls this directly

Calls 1

bin_pathMethod · 0.45

Tested by

no test coverage detected