Franny Dean commited on
Commit
759b0ed
1 Parent(s): ca624a0

make gif slower

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +1 -1
  2. app.py +1 -1
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -484,7 +484,7 @@ def pvloop_simulator(Rm, Ra, Emax, Emin, Vd, Tc, start_v, animate=True):
484
  ax.plot(x, y, lw=1, c='b')
485
 
486
  if animate:
487
- anim = animation.FuncAnimation(fig, partial(update), frames=60, interval=1)
488
  anim.save("prediction.mp4")
489
 
490
  return plt, Rm, Ra, Emax, Emin, Vd, Tc, start_v
 
484
  ax.plot(x, y, lw=1, c='b')
485
 
486
  if animate:
487
+ anim = animation.FuncAnimation(fig, partial(update), frames=60, interval=10)
488
  anim.save("prediction.mp4")
489
 
490
  return plt, Rm, Ra, Emax, Emin, Vd, Tc, start_v
app.py CHANGED
@@ -484,7 +484,7 @@ def pvloop_simulator(Rm, Ra, Emax, Emin, Vd, Tc, start_v, animate=True):
484
  ax.plot(x, y, lw=1, c='b')
485
 
486
  if animate:
487
- anim = animation.FuncAnimation(fig, partial(update), frames=60, interval=1)
488
  anim.save("prediction.mp4")
489
 
490
  return plt, Rm, Ra, Emax, Emin, Vd, Tc, start_v
 
484
  ax.plot(x, y, lw=1, c='b')
485
 
486
  if animate:
487
+ anim = animation.FuncAnimation(fig, partial(update), frames=60, interval=10)
488
  anim.save("prediction.mp4")
489
 
490
  return plt, Rm, Ra, Emax, Emin, Vd, Tc, start_v