code: def _connect_controls(self):
      self._controls.colormap_chooser.currentTextChanged.connect(
          self._canvas_wrapper.set_image_colormap
      )
      self._controls.line_color_chooser.currentTextChanged.connect(
          self._canvas_wrapper.set_line_color
      )
  
imports: import time
  from math import sin, pi
  import numpy
  from PyQt5 import QtWidgets, QtCore
  from vispy.scene import SceneCanvas, visuals
  from vispy.app import use_app, Timer
label_desc: Use image node_id 2 for calling the MyMainWindow obj's underlying member method code with example usage: obj._connect_controls() without return types