def __init__(self, title="plotwindow"): self.win = pg.GraphicsWindow(title=title) self.pw = self.win.addPlot() self.curves = {} self.win.show() self.plot_start_time = time()