Update Bar_Chart + Récup_mat.py
This commit is contained in:
parent
42be7007f0
commit
6525fe7877
|
@ -6,8 +6,8 @@ import matplotlib.pyplot as plt
|
|||
from pylab import *
|
||||
|
||||
|
||||
TailleGrilleX = 2
|
||||
TailleGrilleY = 3
|
||||
TailleGrilleX = 15
|
||||
TailleGrilleY = 15
|
||||
GrilleInitiale = 0
|
||||
HistoriqueGrille = list()
|
||||
StratsResultats = list()
|
||||
|
@ -23,9 +23,7 @@ def recup_mat(matrice, param):
|
|||
|
||||
for ligne in range (0,TailleGrilleX): #int ligne
|
||||
for colonne in range (0, TailleGrilleY): #int colonne
|
||||
for p in matrice[ligne,colonne]:
|
||||
if p==param:
|
||||
matR[ligne,colonne]=dict[param]
|
||||
matR[ligne][colonne]=matrice[ligne][colonne][param]
|
||||
return matR
|
||||
|
||||
def bar_chart():
|
||||
|
|
Loading…
Reference in New Issue