code: def __init__(self, data, offset, scale):
      self.data = gloo.VertexBuffer(data)
      self.program = gloo.Program(vert, frag)
      self.program["pos"] = self.data
      self.set_transform(offset, scale)
  
imports: from __future__ import division
  import numpy
  from vispy import gloo, app, scene, visuals
  from vispy.util.profiler import Profiler
label_desc: Use image node_id 1 to create a new Line object from inherited base classes: object with example: obj = Line(data, offset, scale)