Update ARE-DYNAMIC.py
This commit is contained in:
parent
f603fff8ce
commit
07a77f6c01
|
@ -73,6 +73,9 @@ ListePourcents = list()
|
|||
#Couleurs des Stratégies
|
||||
CouleursStrat=['b','r','black','g','purple']
|
||||
|
||||
#Vitesse de défilement des affichages dynamiques
|
||||
Vitesse = 500
|
||||
|
||||
|
||||
"""
|
||||
Types:
|
||||
|
@ -505,7 +508,7 @@ def afficher_strat_dynamique():
|
|||
img.set_array(matRecup(next_iteration , 'strategie'))
|
||||
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)
|
||||
|
||||
|
@ -529,7 +532,7 @@ def afficher_etat_dynamique():
|
|||
img.set_array(matRecup(next_iteration , 'etat'))
|
||||
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue