I am trying the example 6 from https://github.com/pyqtgraph/pyqtgraph/blob/master/examples/Plotting.py , using the code below.
from PySide2.QtWidgets import Q