Update Bar_Chart + Récup_mat.py
This commit is contained in:
parent
761a53b6f0
commit
46e317f3e3
|
@ -17,6 +17,16 @@ def simulation():
|
|||
while iterations <= MaxIterations :
|
||||
partie_globale()
|
||||
pass
|
||||
fig=plt.figure()
|
||||
im=plt.imshow(HistoriqueGrille[0], interpolation = 'nearest', cmap = plt.cm.gray_r)
|
||||
|
||||
def update(next_iteration):
|
||||
im.set_array(cells)
|
||||
return im
|
||||
|
||||
anim = animation.FuncAnimation(fig, update, frames=range(MaxIterations), interval=50, blit=True)
|
||||
plt.show()
|
||||
|
||||
|
||||
def matStratIté(i):
|
||||
array*str-> array
|
||||
|
|
Loading…
Reference in New Issue