Debuging with pyqtgraph

Debuging with pyqtgraph

这是一个方案:

# 展示一张二维图片
import pyqtgraph.multiprocess as mp
proc = mp.QtProcess()
rpg = proc._import('pyqtgraph')
rpg.image(imageData.T) # Create and return an ImageView


# 展示一条trace
import pyqtgraph.multiprocess as mp
proc = mp.QtProcess()
rpg = proc._import('pyqtgraph')
rpg.plot(trace) # Create and return a PlotWidget

posted @ 2022-11-13 10:01  bH1pJ  阅读(16)  评论(0编辑  收藏  举报