code: def define_simple_grid_template(self, template_id, nrows, ncols):
          
          template = GridTemplate(template_id, nrows, ncols)
          [template.define_frame('%s,%s' % (i, j), template[i, j]) for i in range(nrows) for j in range(ncols)]
          template.register(self)
          return self
docs: Define a simple grid template. This will define nrows*ncols frames, which will be indexed starting with '0,0'
              and using numpy style indexing. So '0,1' is row 0 , col 1