code: def __init__(self, xdata, ydata):
      self.origYData = ydata
      self.origXData = xdata
      self.max_points = 50
      self.delta = xdata[-1] - xdata[0]
  
imports: import matplotlib.pyplot
  import numpy
label_desc: Use image node_id 1 to create a new DataDisplayDownsampler object  with example: obj = DataDisplayDownsampler(xdata, ydata)