Jan-22-2021, 05:34 PM
The PyQtGraph examples in the documentation look nothing like the posted code. For example:
And what does "pg.mkQApp()" do? I can't find this call anywhere in the API.
from PyQt5 import QtGui # (the example applies equally well to PySide2) import pyqtgraph as pg ## Always start by initializing Qt (only once per application) app = QtGui.QApplication([])Important things like QApplication come from PyQt5 or PySideX, not from pyqtgraph.
And what does "pg.mkQApp()" do? I can't find this call anywhere in the API.