From 07a77f6c019d7d33c63cb0b2316eb8a494d23382 Mon Sep 17 00:00:00 2001 From: NicolasBSN Date: Wed, 29 Mar 2017 09:56:13 +0200 Subject: [PATCH] Update ARE-DYNAMIC.py --- ARE-DYNAMIC.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ARE-DYNAMIC.py b/ARE-DYNAMIC.py index ea04d37..8982d67 100644 --- a/ARE-DYNAMIC.py +++ b/ARE-DYNAMIC.py @@ -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)