class_docstr: A table of cells.
  
  The table consists of a grid of cells, which are indexed by (row, column).
  
  For a simple table, you'll have a full grid of cells with indices from
  (0, 0) to (num_rows-1, num_cols-1), in which the cell (0, 0) is positioned
  at the top left. However, you can also add cells with negative indices.
  You don't have to add a cell to every grid position, so you can create
  tables that have holes.
  
  *Note*: You'll usually not create an empty table from scratch. Instead use
  `~matplotlib.table.table` to create a table from data.
class_docstr_tok: ["A","table","of","cells",".","The","table","consists","of","a","grid","of","cells",",","which","are","indexed","by","(","row",",","column",")",".","For","a","simple","table",",","you","'ll","have","a","full","grid","of","cells","with","indices","from","(","0",",","0",")","to","(","num_rows-1",",","num_cols-1",")",",","in","which","the","cell","(","0",",","0",")","is","positioned","at","the","top","left",".","However",",","you","can","also","add","cells","with","negative","indices",".","You","do","n't","have","to","add","a","cell","to","every","grid","position",",","so","you","can","create","tables","that","have","holes",".","*","Note","*",":","You","'ll","usually","not","create","an","empty","table","from","scratch",".","Instead","use","`","~matplotlib.table.table","`","to","create","a","table","from","data","."]
docstr: Create a cell and add it to the table.
  
  Parameters
  ----------
  row : int
      Row index.
  col : int
      Column index.
  *args, **kwargs
      All other parameters are passed on to `Cell`.
  
  Returns
  -------
  `.Cell`
      The created cell.
docstr_tok: ["Create","a","cell","and","add","it","to","the","table",".","Parameters","--","--","--","--","--","row",":","int","Row","index",".","col",":","int","Column","index",".","*","args",",","*","*","kwargs","All","other","parameters","are","passed","on","to","`","Cell","`",".","Returns","--","--","--","-","`",".Cell","`","The","created","cell","."]
code: def add_cell(self, row, col, *args, **kwargs):
      """
      Create a cell and add it to the table.
  
      Parameters
      ----------
      row : int
          Row index.
      col : int
          Column index.
      *args, **kwargs
          All other parameters are passed on to `Cell`.
  
      Returns
      -------
      `.Cell`
          The created cell.
  
      """
      xy = (0, 0)
      cell = Cell(xy, visible_edges=self.edges, *args, **kwargs)
      self[row, col] = cell
      return cell
  
imports: import numpy
  from .None import _api, _docstring
  from .artist import Artist, allow_rasterization
  from .patches import Rectangle
  from .text import Text
  from .transforms import Bbox
  from .path import Path
label_desc: Use image node_id 2 for calling the Table obj's underlying member method code with example usage: obj.add_cell(row, col) and returns: cell