def _plot_monitor_init(self): """Initialize plot monitor """ self.app = wx.App(False) self.frame = _MonitorPlot(self.data) self.frame.Show(True) self.app.Dispatch()
def __init__(self, data): ''' Initialize plot monitor ''' self.app = wx.App(False) self.frame = _MonitorPlot(data) self.frame.Show(True) self.app.Dispatch()