pyqtgraph 官网这里
http://www.pyqtgraph.org/documentation/index.html
anaconda prompt里输入以下两行,
import pyqtgraph.examples
pyqtgraph.examples.run()
出现官网的document,如图所示:
点击“Basic plotting”例子,右边显示源代码,双击“Basic plooting”或者点击下方的“Run example”按钮,则可以运行该例子,如图
这样,对照了例子来学源代码会快很多,目的性也会强一些