export_cached#

scikitplot.cython.export_cached(key, *, dest_dir, cache_dir=None)[source]#

Export a cache entry directory to a destination folder.

Parameters:
keystr

Cache key to export.

dest_dirstr or pathlib.Path

Destination directory. Created (including parents) if absent.

cache_dirstr or pathlib.Path or None, default=None

Cache root override. If None, uses the environment override or the default cache location. Consistent with all other public functions that accept cache_dir.

Returns:
pathlib.Path

Path to the exported entry directory inside dest_dir.

Raises:
FileNotFoundError

If key does not exist in the cache.

Parameters:
Return type:

Path