class_docstr: A simple test canvas for testing the EditLineVisual 
class_docstr_tok: ["A","simple","test","canvas","for","testing","the","EditLineVisual"]
code: def on_mouse_press(self, event):
      # self.line.print_mouse_event(event, 'Mouse press')
  
      tr = self.scene.node_transform(self.line)
      pos = tr.map(event.pos)
      self.line.on_mouse_press(pos)
  
file_path: vispy/examples/basics/visuals/line_draw.py
imports: import numpy
  from vispy import app, scene
label_desc: Use image node_id 2 for calling the Canvas obj's underlying member method code with example usage: obj.on_mouse_press(event) without return types