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