def windowClosing(self, evt): if evt.getWindow() == self: self.dispose() else: ApplicationFrame.windowClosing(self, evt)
def __init__(self, title="plot", logx=False, logy=False): ApplicationFrame.__init__(self, title) self.allSeries = [] self._size = (800, 600) self.logx=logx self.logy=logy