code: def shape(self):
          
          try:
              return self.__shape
          except AttributeError:
              shape = tuple(len(vec) for vec in self.coord_vectors)
              self.__shape = shape
              return shape
docs: Number of grid points per axis.