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

Method get_name

lib/matplotlib/font_manager.py:880–884  ·  view source on GitHub ↗

Return the name of the font that best matches the font properties.

(self)

Source from the content-addressed store, hash-verified

878 return list(self._family)
879
880 def get_name(self):
881 """
882 Return the name of the font that best matches the font properties.
883 """
884 return get_font(findfont(self)).family_name
885
886 def get_style(self):
887 """

Callers 4

get_fontnameMethod · 0.80
on_notify_filterMethod · 0.80
save_figureMethod · 0.80
get_wx_fontMethod · 0.80

Calls 1

get_fontFunction · 0.85

Tested by

no test coverage detected