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

Method __init__

lib/matplotlib/_mathtext.py:815–820  ·  view source on GitHub ↗
(self, default_font_prop: FontProperties, load_glyph_flags: LoadFlags)

Source from the content-addressed store, hash-verified

813 _sans = False
814
815 def __init__(self, default_font_prop: FontProperties, load_glyph_flags: LoadFlags):
816 TruetypeFonts.__init__(self, default_font_prop, load_glyph_flags)
817 for key, name in self._fontmap.items():
818 fullpath = findfont(name)
819 self.fontmap[key] = fullpath
820 self.fontmap[name] = fullpath
821
822 def _map_virtual_font(self, fontname: str, font_class: str,
823 uniindex: CharacterCodeType) -> tuple[str, CharacterCodeType]:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected