visualize_1_2.py 184 B

12345
  1. def animate(self, at):
  2. [self.bar_collections[i].set_height(self.arr[at][i]) for i in range(len(self.bar_collections))]
  3. # self.fig.canvas.draw() # forces canavas to draw a frame