Revered animation

This commit is contained in:
Nuwan Yapa 2025-04-28 18:54:44 -05:00
parent 7e7e1a4185
commit e68370cf7d
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ def update(c):
# Create animation # Create animation
no_frames = 100 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) ani = FuncAnimation(fig, update, frames=c_steps, interval=100, blit=True)
# Save or display the animation # Save or display the animation