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 *
|
from pylab import *
|
||||||
|
|
||||||
|
|
||||||
TailleGrilleX = 2
|
TailleGrilleX = 15
|
||||||
TailleGrilleY = 3
|
TailleGrilleY = 15
|
||||||
GrilleInitiale = 0
|
GrilleInitiale = 0
|
||||||
HistoriqueGrille = list()
|
HistoriqueGrille = list()
|
||||||
StratsResultats = list()
|
StratsResultats = list()
|
||||||
|
@ -23,9 +23,7 @@ def recup_mat(matrice, param):
|
||||||
|
|
||||||
for ligne in range (0,TailleGrilleX): #int ligne
|
for ligne in range (0,TailleGrilleX): #int ligne
|
||||||
for colonne in range (0, TailleGrilleY): #int colonne
|
for colonne in range (0, TailleGrilleY): #int colonne
|
||||||
for p in matrice[ligne,colonne]:
|
matR[ligne][colonne]=matrice[ligne][colonne][param]
|
||||||
if p==param:
|
|
||||||
matR[ligne,colonne]=dict[param]
|
|
||||||
return matR
|
return matR
|
||||||
|
|
||||||
def bar_chart():
|
def bar_chart():
|
||||||
|
|
Loading…
Reference in New Issue