peek_cache_dir#

scikitplot.cython.peek_cache_dir(cache_dir)[source]#

Resolve the cache directory path without creating it.

Parameters:
cache_dirstr or pathlib.Path or None

Requested cache dir. If None, use environment override or a default platform cache location.

Returns:
pathlib.Path

Resolved cache directory root (may not exist).

Parameters:

cache_dir (str | Path | None)

Return type:

Path