MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / shrink

Method shrink

site-packages/matplotlib/mathtext.py:1488–1494  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1486 self.font, self.font_class, self.c, self.fontsize, self.dpi)
1487
1488 def shrink(self):
1489 Node.shrink(self)
1490 if self.size < NUM_SIZE_LEVELS:
1491 self.fontsize *= SHRINK_FACTOR
1492 self.width *= SHRINK_FACTOR
1493 self.height *= SHRINK_FACTOR
1494 self.depth *= SHRINK_FACTOR
1495
1496 def grow(self):
1497 Node.grow(self)

Callers

nothing calls this directly

Calls 1

shrinkMethod · 0.45

Tested by

no test coverage detected