docstr: Main Window for holding the Vispy Canvas and the parameter
  control menu.
docstr_tok: ["Main","Window","for","holding","the","Vispy","Canvas","and","the","parameter","control","menu","."]
code: def __init__(self, param=None):
      """Main Window for holding the Vispy Canvas and the parameter
      control menu.
      """
      QtWidgets.QMainWindow.__init__(self)
  
      self.resize(1067, 800)
      icon = load_data_file("wiggly_bar/spring.ico")
      self.setWindowIcon(QtGui.QIcon(icon))
      self.setWindowTitle("Nonlinear Physical Model Simulation")
  
      self.parameter_object = SetupWidget(self)
      self.parameter_object.param = (
          param if param is not None else self.parameter_object.param
      )
      self.parameter_object.changed_parameter_sig.connect(
          self.update_view
      )
  
      self.view_box = WigglyBar(**self.parameter_object.param.props)
  
      self.view_box.create_native()
      self.view_box.native.setParent(self)
  
      splitter = QtWidgets.QSplitter(QtCore.Qt.Horizontal)
      splitter.addWidget(self.parameter_object)
      splitter.addWidget(self.view_box.native)
  
      self.setCentralWidget(splitter)
  
imports: from __future__ import division, print_function, absolute_import
  from vispy import app, visuals
  from vispy.visuals import transforms
  from vispy.io import load_data_file
  import sys
  import numpy
  import string
  import logging
  import traceback
  from PyQt5 import QtCore, QtGui, QtWidgets
label_desc: Use image node_id 1 to create a new MainWindow object from inherited base classes: QtWidgets with example: obj = MainWindow(param)