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

Method shrink

lib/matplotlib/_mathtext.py:1156–1161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1154 self.depth = depth
1155
1156 def shrink(self) -> None:
1157 super().shrink()
1158 if self.size < NUM_SIZE_LEVELS:
1159 self.width *= SHRINK_FACTOR
1160 self.height *= SHRINK_FACTOR
1161 self.depth *= SHRINK_FACTOR
1162
1163 def render(self, output: Output, # type: ignore[override]
1164 x1: float, y1: float, x2: float, y2: float) -> None:

Callers 9

shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45
shrinkMethod · 0.45
subsuperMethod · 0.45
_genfracMethod · 0.45
_gensetMethod · 0.45
sqrtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected