class_docstr: A cell is a Rectangle with some associated text.
class_docstr_tok: ["A","cell","is","a","Rectangle","with","some","associated","text","."]
code: def __init__(
      self,
      xy,
      width,
      height,
      edgecolor="k",
      facecolor="w",
      fill=True,
      text="",
      loc=None,
      fontproperties=None,
  ):
      # Call base
      Rectangle.__init__(
          self,
          xy,
          width=width,
          height=height,
          edgecolor=edgecolor,
          facecolor=facecolor,
      )
      self.set_clip_on(False)
  
      # Create text object
      if loc is None:
          loc = "right"
      self._loc = loc
      self._text = Text(
          x=xy[0], y=xy[1], text=text, fontproperties=fontproperties
      )
      self._text.set_clip_on(False)
  
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 1 to create a new Cell object from inherited base classes: Rectangle with example: obj = Cell(xy, width, height, edgecolor, facecolor, fill, text, loc, fontproperties)