code: def animate(frame_number, bar_container):
      # Simulate new data coming in.
      data = rng.standard_normal(1000)
      n, _ = np.histogram(data, HIST_BINS)
      for count, rect in zip(n, bar_container.patches):
          rect.set_height(count)
  
      return bar_container.patches
  
imports: import functools
  import matplotlib.pyplot
  import numpy
  import matplotlib.animation
label_desc: Use image node_id 1 for calling a global function with example usage: animate(frame_number, bar_container) and returns: bar_container