class_docstr: Create a table of cells.
  
  Table can have (optional) row and column headers.
  
  Each entry in the table can be either text or patches.
  
  Column widths and row heights for the table can be specified.
  
  Return value is a sequence of text, line and patch instances that make
  up the table
class_docstr_tok: ["Create","a","table","of","cells",".","Table","can","have","(","optional",")","row","and","column","headers",".","Each","entry","in","the","table","can","be","either","text","or","patches",".","Column","widths","and","row","heights","for","the","table","can","be","specified",".","Return","value","is","a","sequence","of","text",",","line","and","patch","instances","that","make","up","the","table"]
docstr: Set a customcell in a given position
code: def __setitem__(self, position, cell):
      """
      Set a customcell in a given position
      """
      if not isinstance(cell, CustomCell):
          raise TypeError("Table only accepts CustomCell")
      try:
          row, col = position[0], position[1]
      except Exception:
          raise KeyError(
              "Only tuples length 2 are accepted as coordinates"
          )
      cell.set_figure(self.figure)
      cell.set_transform(self.get_transform())
      cell.set_clip_on(False)
      self._cells[row, col] = cell
      self.stale = True
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  from six.moves import xrange
  import warnings
  from .None import artist
  from .artist import Artist, allow_rasterization
  from .patches import Rectangle
  from matplotlib import docstring
  from .text import Text
  from .transforms import Bbox
  from matplotlib.path import Path
label_desc: Use image node_id 3 for calling the Table obj's underlying member method code with example usage: obj.__setitem__(position, cell) without return types