Set the font style. Parameters ---------- style : {'normal', 'italic', 'oblique'}, default: :rc:`font.style`
(self, style)
| 948 | self._family = tuple(family) |
| 949 | |
| 950 | def set_style(self, style): |
| 951 | """ |
| 952 | Set the font style. |
| 953 | |
| 954 | Parameters |
| 955 | ---------- |
| 956 | style : {'normal', 'italic', 'oblique'}, default: :rc:`font.style` |
| 957 | """ |
| 958 | style = mpl._val_or_rc(style, 'font.style') |
| 959 | _api.check_in_list(['normal', 'italic', 'oblique'], style=style) |
| 960 | self._slant = style |
| 961 | |
| 962 | def set_variant(self, variant): |
| 963 | """ |
no outgoing calls
no test coverage detected