code: def setRows(self, rows):
          
          self._raster[0] = rows
          if self._raster[1] == 0:
              self._raster[1] = 1
docs: Sets the number of rows in the raster (if columns have not been initialized, set to 1 as well)