Skip to main content

clear_cache

clear_cache() -> None

Delete everything sdvplot has cached (manifest, images, rasters, nflverse).

The next call that needs a mark downloads it again. The cache directory is SDVPLOT_CACHE_DIR when set.

Returns​

None — Nothing; the cache subdirectories are removed.

Example​

import sdvplot

sdvplot.clear_cache() # the next logo_url() / logo_image() re-downloads

See also​