摘要:
首先利用numpy模块创建两个随机数组,用来作为图形绘制的数据: import pyqtgraph as pg import numpy as npfrom pyqtgraph.Qt import QtCore x = np.random.random(50) y = np.random.rando 阅读全文
摘要:
import sys from PyQt5.QtWidgets import * from PyQt5.QtGui import * class Example(QMainWindow): def __init__(self): super().__init__() self.initUI() de 阅读全文