code: def __init__(self):
      QtWidgets.QMainWindow.__init__(self)
  
      self.resize(1000, 500)
      self.setWindowTitle("vispy example ...")
  
      self.splitter_h = QtWidgets.QSplitter(QtCore.Qt.Horizontal)
  
      # Central Widget
      splitter1 = QtWidgets.QSplitter(QtCore.Qt.Horizontal)
  
      self.rain_canvas = RainCanvas()
      self.rain_canvas.create_native()
      self.rain_canvas.native.setParent(self)
      self.fireworks_canvas = FireCanvas()
      self.fireworks_canvas.create_native()
      self.fireworks_canvas.native.setParent(self)
  
      splitter1.addWidget(self.fireworks_canvas.native)
      splitter1.addWidget(self.rain_canvas.native)
  
      self.setCentralWidget(splitter1)
  
imports: from PyQt5 import QtCore, QtWidgets
  import sys
  from fireworks import Canvas
  from rain import Canvas
label_desc: Use image node_id 1 to create a new MainWindow object from inherited base classes: QtWidgets with example: obj = MainWindow()