Set the font variant. Parameters ---------- variant : {'normal', 'small-caps'} See Also -------- .font_manager.FontProperties.set_variant
(self, variant)
| 1238 | self.stale = True |
| 1239 | |
| 1240 | def set_fontvariant(self, variant): |
| 1241 | """ |
| 1242 | Set the font variant. |
| 1243 | |
| 1244 | Parameters |
| 1245 | ---------- |
| 1246 | variant : {'normal', 'small-caps'} |
| 1247 | |
| 1248 | See Also |
| 1249 | -------- |
| 1250 | .font_manager.FontProperties.set_variant |
| 1251 | """ |
| 1252 | self._fontproperties.set_variant(variant) |
| 1253 | self.stale = True |
| 1254 | |
| 1255 | def set_fontstyle(self, fontstyle): |
| 1256 | """ |
nothing calls this directly
no test coverage detected