code: def on_enter_figure(event):
      print("enter_figure", event.canvas.figure)
      event.canvas.figure.patch.set_facecolor("red")
      event.canvas.draw()
  
imports: import matplotlib.pyplot
label_desc: Use image node_id 3 for calling a global function with example usage: on_enter_figure(event) without return types