Update ARE-DYNAMIC.py

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

View File

@ -73,7 +73,7 @@ AffichageDynamique = True
ListePourcents = list()
# couleurs des stratégies (pour l'affichage dynamique)
CouleursStrat = ['b','r','black','g']
CouleursStrat = ['b','r','black','g',"purple","yellow"]
# Vitesse de défilement des images dans l'affichage dynamique en millisecondes
Vitesse = 1
@ -710,7 +710,7 @@ def afficher_strat_dynamique():
fig = plt.figure()
fig.suptitle('Animation des stratégies')
cmap = mpl.colors.ListedColormap(["b","r" ,"black" ,"g"])
cmap = mpl.colors.ListedColormap(["b","r" ,"black" ,"g","purple","yellow"])
bounds = [0,1,2,3,4,5,6]
norm = mpl.colors.BoundaryNorm(bounds, cmap.N)