Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down Expand Up @@ -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",
Expand Down