get_cache_dir#

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

Resolve (and create) the cache root directory.

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

Cache root directory override. If None, uses environment override or a default cache location.

Returns:
pathlib.Path

Cache root directory.

Parameters:

cache_dir (str | Path | None)

Return type:

Path