code: def on_redraw(event):
      animation.background = None
  
imports: import time
  import matplotlib.pyplot
  import numpy
  from numpy.random import randint, randn
  from matplotlib.font_manager import FontProperties
label_desc: Use image node_id 1 for calling a global function with example usage: on_redraw(event) without return types