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

Method get_weight

lib/matplotlib/font_manager.py:898–905  ·  view source on GitHub ↗

Get the font weight. Options are: A numeric value in the range 0-1000 or one of 'light', 'normal', 'regular', 'book', 'medium', 'roman', 'semibold', 'demibold', 'demi', 'bold', 'heavy', 'extra bold', 'black'

(self)

Source from the content-addressed store, hash-verified

896 return self._variant
897
898 def get_weight(self):
899 """
900 Get the font weight. Options are: A numeric value in the
901 range 0-1000 or one of 'light', 'normal', 'regular', 'book',
902 'medium', 'roman', 'semibold', 'demibold', 'demi', 'bold',
903 'heavy', 'extra bold', 'black'
904 """
905 return self._weight
906
907 def get_stretch(self):
908 """

Callers 3

afmFontPropertyFunction · 0.45
_findfont_cachedMethod · 0.45

Calls

no outgoing calls

Tested by 1