purge_cache#

scikitplot.cython.purge_cache(cache_dir=None)[source]#

Delete the entire cache directory.

Parameters:
cache_dirstr or pathlib.Path or None, default=None

Cache root. If None, uses default.

Raises:
FileNotFoundError

If the cache directory does not exist.

Parameters:

cache_dir (str | Path | None)

Return type:

None