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

Method get_fontvariant

lib/matplotlib/text.py:971–979  ·  view source on GitHub ↗

Return the font variant as a string. See Also -------- .font_manager.FontProperties.get_variant

(self)

Source from the content-addressed store, hash-verified

969 return self._fontproperties.get_size_in_points()
970
971 def get_fontvariant(self):
972 """
973 Return the font variant as a string.
974
975 See Also
976 --------
977 .font_manager.FontProperties.get_variant
978 """
979 return self._fontproperties.get_variant()
980
981 def get_fontweight(self):
982 """

Callers 1

test_font_stylesFunction · 0.80

Calls 1

get_variantMethod · 0.80

Tested by 1

test_font_stylesFunction · 0.64