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

Method scale

lib/matplotlib/table.py:545–549  ·  view source on GitHub ↗

Scale column widths by *xscale* and row heights by *yscale*.

(self, xscale, yscale)

Source from the content-addressed store, hash-verified

543 cell.set_fontsize(fontsize)
544
545 def scale(self, xscale, yscale):
546 """Scale column widths by *xscale* and row heights by *yscale*."""
547 for c in self._cells.values():
548 c.set_width(c.get_width() * xscale)
549 c.set_height(c.get_height() * yscale)
550
551 def set_fontsize(self, size):
552 """

Callers 15

_update_positionsMethod · 0.95
drawMethod · 0.45
__init__Method · 0.45
test_curvelinear3Function · 0.45
test_curvelinear4Function · 0.45
test_polar_boxFunction · 0.45
test_axis_directionFunction · 0.45
__call__Method · 0.45
_get_xy_transformMethod · 0.45
_resampleFunction · 0.45
_make_imageMethod · 0.45

Calls 5

valuesMethod · 0.80
set_widthMethod · 0.45
get_widthMethod · 0.45
set_heightMethod · 0.45
get_heightMethod · 0.45

Tested by 15

test_curvelinear3Function · 0.36
test_curvelinear4Function · 0.36
test_polar_boxFunction · 0.36
test_axis_directionFunction · 0.36
test_marker_scaledFunction · 0.36
get_transformMethod · 0.36
test_cursor_dataFunction · 0.36
test_resample_nonaffineFunction · 0.36
test_scaleMethod · 0.36