code: def __init__(self, cells, **kwargs):
      m, n = (10, 10)
      self.grid_size = (m, n)
      self.cells = cells
      super(GridCanvas, self).__init__(
          keys="interactive", show=True, **kwargs
      )
  
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 GridCanvas object from inherited base classes: app with example: obj = GridCanvas(cells)