From e68370cf7d0c3e75f2dd4ee1223cc77211a09c75 Mon Sep 17 00:00:00 2001 From: Nuwan Yapa Date: Mon, 28 Apr 2025 18:54:44 -0500 Subject: [PATCH] Revered animation --- calculations/PMM.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calculations/PMM.py b/calculations/PMM.py index 33af21f..397cd5e 100644 --- a/calculations/PMM.py +++ b/calculations/PMM.py @@ -139,7 +139,7 @@ def update(c): # Create animation no_frames = 100 -c_steps = np.linspace(min(df['c']), max(df['c']), no_frames) +c_steps = np.linspace(max(df['c']), min(df['c']), no_frames) ani = FuncAnimation(fig, update, frames=c_steps, interval=100, blit=True) # Save or display the animation