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

Method set_fontsize

site-packages/matplotlib/text.py:1068–1083  ·  view source on GitHub ↗

Set the font size. May be either a size string, relative to the default font size, or an absolute font size in points. Parameters ---------- fontsize : {size in points, 'xx-small', 'x-small', 'small', 'medium', \ 'large', 'x-large', 'xx-large'} See

(self, fontsize)

Source from the content-addressed store, hash-verified

1066 self.stale = True
1067
1068 def set_fontsize(self, fontsize):
1069 """
1070 Set the font size. May be either a size string, relative to
1071 the default font size, or an absolute font size in points.
1072
1073 Parameters
1074 ----------
1075 fontsize : {size in points, 'xx-small', 'x-small', 'small', 'medium', \
1076'large', 'x-large', 'xx-large'}
1077
1078 See Also
1079 --------
1080 .font_manager.FontProperties.set_size
1081 """
1082 self._fontproperties.set_size(fontsize)
1083 self.stale = True
1084
1085 def set_fontweight(self, weight):
1086 """

Callers 4

test_auto_columnFunction · 0.45
_make_plotMethod · 0.45
_make_tableMethod · 0.45

Calls 1

set_sizeMethod · 0.45

Tested by 1

test_auto_columnFunction · 0.36