Set the font size. Parameters ---------- fontsize : float or {'xx-small', 'x-small', 'small', 'medium', \ 'large', 'x-large', 'xx-large'} If a float, the fontsize in points. The string values denote sizes relative to the default font size.
(self, fontsize)
| 1268 | self.stale = True |
| 1269 | |
| 1270 | def set_fontsize(self, fontsize): |
| 1271 | """ |
| 1272 | Set the font size. |
| 1273 | |
| 1274 | Parameters |
| 1275 | ---------- |
| 1276 | fontsize : float or {'xx-small', 'x-small', 'small', 'medium', \ |
| 1277 | 'large', 'x-large', 'xx-large'} |
| 1278 | If a float, the fontsize in points. The string values denote sizes |
| 1279 | relative to the default font size. |
| 1280 | |
| 1281 | See Also |
| 1282 | -------- |
| 1283 | .font_manager.FontProperties.set_size |
| 1284 | """ |
| 1285 | self._fontproperties.set_size(fontsize) |
| 1286 | self.stale = True |
| 1287 | |
| 1288 | def get_math_fontfamily(self): |
| 1289 | """ |