code: def cuts(self, data,
               xtitle=None, ytitle=None, title=None, rtitle=None,
               color=None):
          
          y = data
          x = np.arange(len(data))
  
          self.plot(x, y, color=color, drawstyle='steps-mid',
                    xtitle=xtitle, ytitle=ytitle, title=title, rtitle=rtitle,
                    alpha=1.0, linewidth=1.0, linestyle='-')
docs: data: pixel values along a line.