code: def __init__(self):
      TemplateBaseClass.__init__(self)
      self.setWindowTitle("pyqtgraph example: Qt Designer")
  
      # Create the main window
      self.ui = WindowTemplate()
      self.ui.setupUi(self)
      self.ui.plotBtn.clicked.connect(self.plot)
  
      self.show()
  
imports: import os
  import numpy
  import pyqtgraph
label_desc: Use image node_id 1 to create a new MainWindow object from inherited base classes: TemplateBaseClass with example: obj = MainWindow()