code: def __init__(self):
      app.Canvas.__init__(self, size=(800, 600), keys="interactive")
  
      self.bars = []
      self.bars.append(get_left_orientation_bar())
      self.bars.append(get_right_orientation_bar())
      self.bars.append(get_top_orientation_bar())
      self.bars.append(get_bottom_orientation_bar())
  
      self.show()
  
file_path: vispy/examples/basics/visuals/colorbar_visual_types.py
imports: from vispy import app
  from vispy import gloo
  from vispy.visuals import ColorBarVisual
  from vispy.color import get_colormap
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()