MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / _approx_text_height

Method _approx_text_height

lib/matplotlib/table.py:399–401  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

397 self.stale = True
398
399 def _approx_text_height(self):
400 return (self.FONTSIZE / 72.0 * self.get_figure(root=True).dpi /
401 self._axes.bbox.height * 1.2)
402
403 @allow_rasterization
404 def draw(self, renderer):

Callers 1

tableFunction · 0.95

Calls 1

get_figureMethod · 0.45

Tested by

no test coverage detected