def __init__(self, parent_plot):
QtGui.QWidget.__init__(self)
self.parent_plot = parent_plot
self.model = parent_plot.model
self.plot = pg.PlotWidget(background='default')
self.plot.showGrid(True, True, alpha=.5)
self.plot.setMenuEnabled(False)
self.plot.enableAutoRange()
self.layout = QtGui.QVBoxLayout(self)
self.layout.addWidget(self.plot)
评论列表
文章目录