superplot.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:pytelemetrycli 作者: Overdrivr 项目源码 文件源码
def run(self):
        self.app = QtGui.QApplication([])
        win = pg.GraphicsWindow(title="Basic plotting examples")
        win.resize(1000,600)
        win.setWindowTitle('pyqtgraph example: Plotting')
        plot = win.addPlot(title=self.name)
        self.curve = plot.plot(pen='y')

        timer = QtCore.QTimer()
        timer.timeout.connect(self._update)
        timer.start(50)

        self.app.exec_()
        try:
            self.in_process_pipe.send("closing")
        except:
            pass
            # Process was done, no need to process exception
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号