Set the font weight. Parameters ---------- weight : {a numeric value in range 0-1000, 'ultralight', 'light', \ 'normal', 'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', \ 'demi', 'bold', 'heavy', 'extra bold', 'black'} See Also -------
(self, weight)
| 1320 | self._fontproperties.set_math_fontfamily(fontfamily) |
| 1321 | |
| 1322 | def set_fontweight(self, weight): |
| 1323 | """ |
| 1324 | Set the font weight. |
| 1325 | |
| 1326 | Parameters |
| 1327 | ---------- |
| 1328 | weight : {a numeric value in range 0-1000, 'ultralight', 'light', \ |
| 1329 | 'normal', 'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', \ |
| 1330 | 'demi', 'bold', 'heavy', 'extra bold', 'black'} |
| 1331 | |
| 1332 | See Also |
| 1333 | -------- |
| 1334 | .font_manager.FontProperties.set_weight |
| 1335 | """ |
| 1336 | self._fontproperties.set_weight(weight) |
| 1337 | self.stale = True |
| 1338 | |
| 1339 | def set_fontstretch(self, stretch): |
| 1340 | """ |
no test coverage detected