MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_style

Method get_style

lib/matplotlib/font_manager.py:886–890  ·  view source on GitHub ↗

Return the font style. Values are: 'normal', 'italic' or 'oblique'.

(self)

Source from the content-addressed store, hash-verified

884 return get_font(findfont(self)).family_name
885
886 def get_style(self):
887 """
888 Return the font style. Values are: 'normal', 'italic' or 'oblique'.
889 """
890 return self._slant
891
892 def get_variant(self):
893 """

Callers 5

get_fontstyleMethod · 0.80
_findfont_cachedMethod · 0.80
_escape_and_apply_propsFunction · 0.80
_draw_text_as_textMethod · 0.80
get_wx_fontMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected