I am able to create a vertical bar chart using following code:
import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui window = pg.plot() y1 = [5, 5, 7, 1