Update ARE-DYNAMIC.py

This commit is contained in:
NicolasBSN 2017-04-23 11:12:39 +02:00 committed by GitHub
parent 0f965f98d6
commit 40cd70fc6f
1 changed files with 2 additions and 2 deletions

View File

@ -724,7 +724,7 @@ def afficher_strat_dynamique():
img.set_array(matRecup(next_iteration , 'strategie')) img.set_array(matRecup(next_iteration , 'strategie'))
return [img] return [img]
anim = animation.FuncAnimation(fig, update, frames=range(MaxIterations), interval=500, repeat = False) anim = animation.FuncAnimation(fig, update, frames=range(MaxIterations), interval=Vitesse, repeat = False)
plt.show(block = True) plt.show(block = True)
@ -751,7 +751,7 @@ def afficher_etat_dynamique():
img.set_array(matRecup(next_iteration , 'etat')) img.set_array(matRecup(next_iteration , 'etat'))
return [img] return [img]
anim = animation.FuncAnimation(fig, update, frames=range(MaxIterations), interval=500, repeat = False) anim = animation.FuncAnimation(fig, update, frames=range(MaxIterations), interval=Vitesse, repeat = False)
plt.show(block = True) plt.show(block = True)