Revered animation
This commit is contained in:
parent
7e7e1a4185
commit
e68370cf7d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue