class_docstr: A TablePlot can plot both TableViews and ViewMaps which display
  as either a single static table or as an animated table
  respectively.
class_docstr_tok: ["A","TablePlot","can","plot","both","TableViews","and","ViewMaps","which","display","as","either","a","single","static","table","or","as","an","animated","table","respectively","."]
code: def _format_table(self):
      cell_widths = defaultdict(int)
      for key in self.keys:
          element = self._get_frame(key)
          if element is None:
              continue
          self._update_cell_widths(element, cell_widths)
      return cell_widths
  
file_path: holoviews/holoviews/plotting/mpl/tabular.py
imports: from collections import defaultdict
  import param
  from matplotlib.font_manager import FontProperties
  from matplotlib.table import Table
  from .element import ElementPlot
  from .plot import mpl_rc_context
label_desc: Use image node_id 2 for calling the TablePlot obj's underlying member method code with example usage: obj._format_table() and returns: cell_widths