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

Method get_variant

lib/matplotlib/font_manager.py:892–896  ·  view source on GitHub ↗

Return the font variant. Values are: 'normal' or 'small-caps'.

(self)

Source from the content-addressed store, hash-verified

890 return self._slant
891
892 def get_variant(self):
893 """
894 Return the font variant. Values are: 'normal' or 'small-caps'.
895 """
896 return self._variant
897
898 def get_weight(self):
899 """

Callers 3

get_fontvariantMethod · 0.80
_findfont_cachedMethod · 0.80
_draw_text_as_textMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected