diff --git a/packages/evaluate/src/weathergen/evaluate/plotting/plotter.py b/packages/evaluate/src/weathergen/evaluate/plotting/plotter.py index 2d311dc44..0eee7c1c8 100644 --- a/packages/evaluate/src/weathergen/evaluate/plotting/plotter.py +++ b/packages/evaluate/src/weathergen/evaluate/plotting/plotter.py @@ -16,8 +16,8 @@ from matplotlib.lines import Line2D from PIL import Image from scipy.stats import wilcoxon - from weathergen.common.config import _load_private_conf + from weathergen.evaluate.plotting.plot_utils import ( DefaultMarkerSize, ) @@ -602,6 +602,7 @@ def animation(self, samples, fsteps, variables, select, tag) -> list[str]: image_paths += names if image_paths: + image_paths = sorted(image_paths) images = [Image.open(path) for path in image_paths] images[0].save( f"{map_output_dir}/animation_{self.run_id}_{tag}_{sa}_{self.stream}_{region}_{var}.gif",