code: def __init__(self, ax, maxt=2, dt=0.02):
      self.ax = ax
      self.dt = dt
      self.maxt = maxt
      self.tdata = [0]
      self.ydata = [0]
      self.line = Line2D(self.tdata, self.ydata)
      self.ax.add_line(self.line)
      self.ax.set_ylim(-0.1, 1.1)
      self.ax.set_xlim(0, self.maxt)
  
file_path: matplotlib/galleries/examples/animation/strip_chart.py
imports: import matplotlib.pyplot
  import numpy
  import matplotlib.animation
  from matplotlib.lines import Line2D
label_desc: Use image node_id 1 to create a new Scope object  with example: obj = Scope(ax, maxt, dt)