code: def init():
      ax.set_ylim(-1.1, 1.1)
      ax.set_xlim(0, 1)
      del xdata[:]
      del ydata[:]
      line.set_data(xdata, ydata)
      return (line,)
  
imports: import itertools
  import matplotlib.pyplot
  import numpy
  import matplotlib.animation
label_desc: Use image node_id 2 for calling a global function with example usage: init() and returns: line