docs: def addPlot(self, xdata, ydata, xlabel=None, ylabel=None, title=None, xunits=None, yunits=None):
          """Adds a new plot for the given set of data and/or labels, Generates a SimplePlotWidget
  
          :param xdata: index values for data, plotted on x-axis
          :type xdata: numpy.ndarray
          :param ydata: value data to plot, dimension must match xdata
          :type ydata: numpy.ndarray
          """
          p = SimplePlotWidget(xdata, ydata)
          p.setLabels(xlabel, ylabel, title, xunits, yunits)
          # self.plots.append(p)
          self.stacker.addWidget(p)