plt.axis('off') while True: if input() == int(1): break else: im = plt.imshow(gol.zustand, animated=True, cmap=plt.get_cmap('gray')) anim = animation.FuncAnimation(fig, animate, frames=2, interval=100) plt.show()
loop stoppen und funcanimation kuerzer machen damit man