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