movie_cleanup#

skysim.plot.movie_cleanup(filenames, directory, verbose_level)[source]#

Clean up the tempfiles used in creating a video.

Parameters:
filenamescollections.abc.Collection[pathlib.Path]

The image files to delete.

directorypathlib.Path

The directory to delete.

verbose_levelint

How much detail to print.

Raises:
ValueError

Raised if the directory cannot be deleted.