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

Function find_matplotlib_font

lib/matplotlib/tests/test_text.py:32–35  ·  view source on GitHub ↗
(**kw)

Source from the content-addressed store, hash-verified

30def test_font_styles():
31
32 def find_matplotlib_font(**kw):
33 prop = FontProperties(**kw)
34 path = findfont(prop, directory=mpl.get_data_path())
35 return FontProperties(fname=path)
36
37 from matplotlib.font_manager import FontProperties, findfont
38 warnings.filterwarnings(

Callers 1

test_font_stylesFunction · 0.85

Calls 1

FontPropertiesClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…