code: def __init__(self):
      app.Canvas.__init__(
          self,
          keys="interactive",
          size=(512, 512),
          title="Marker demo [press space to change marker]",
      )
      self.index = 0
      self.markers = visuals.MarkersVisual()
      self.markers.set_data(pos, face_color=colors)
      self.markers.symbol = self.markers.symbols[self.index]
      self.markers.transform = STTransform()
  
      self.show()
  
file_path: vispy/examples/basics/visuals/markers.py
imports: import numpy
  from vispy import app, visuals
  from vispy.visuals.transforms import STTransform
label_desc: Use image node_id 1 to create a new Canvas object from inherited base classes: app with example: obj = Canvas()