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: Set the font size, in points, of the cell text.
  
  Parameters
  ----------
  size : float
  
  Notes
  -----
  As long as auto font size has not been disabled, the value will be
  clipped such that the text fits horizontally into the cell.
  
  You can disable this behavior using `.auto_set_font_size`.
  
  >>> the_table.auto_set_font_size(False)
  >>> the_table.set_fontsize(20)
  
  However, there is no automatic scaling of the row height so that the
  text may exceed the cell boundary.
docstr_tok: ["Set","the","font","size",",","in","points",",","of","the","cell","text",".","Parameters","--","--","--","--","--","size",":","float","Notes","--","--","-","As","long","as","auto","font","size","has","not","been","disabled",",","the","value","will","be","clipped","such","that","the","text","fits","horizontally","into","the","cell",".","You","can","disable","this","behavior","using","`",".auto_set_font_size","`",".",">",">",">","the_table.auto_set_font_size","(","False",")",">",">",">","the_table.set_fontsize","(","20",")","However",",","there","is","no","automatic","scaling","of","the","row","height","so","that","the","text","may","exceed","the","cell","boundary","."]
code: def set_fontsize(self, size):
      """
      Set the font size, in points, of the cell text.
  
      Parameters
      ----------
      size : float
  
      Notes
      -----
      As long as auto font size has not been disabled, the value will be
      clipped such that the text fits horizontally into the cell.
  
      You can disable this behavior using `.auto_set_font_size`.
  
      >>> the_table.auto_set_font_size(False)
      >>> the_table.set_fontsize(20)
  
      However, there is no automatic scaling of the row height so that the
      text may exceed the cell boundary.
      """
      for cell in self._cells.values():
          cell.set_fontsize(size)
      self.stale = True
  
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 19 for calling the Table obj's underlying member method code with example usage: obj.set_fontsize(size) without return types