Franny Dean commited on
Commit
64db3e2
1 Parent(s): 6c5fffa

longer interval

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=100, interval=10)
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=100, interval=30)
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=100, interval=10)
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=100, interval=30)
488
  anim.save("prediction.mp4")
489
 
490
  return plt, Rm, Ra, Emax, Emin, Vd, Tc, start_v