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

Function test_multi_font_astext

lib/matplotlib/tests/test_backend_svg.py:543–550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

541
542@image_comparison(["multi_font_astext.svg"], style='mpl20')
543def test_multi_font_astext():
544 fonts, test_str = _gen_multi_font_text()
545 plt.rc('font', family=fonts, size=16)
546 plt.rc('svg', fonttype='none')
547
548 fig = plt.figure(figsize=(8, 6))
549 fig.text(0.5, 0.5, test_str,
550 horizontalalignment='center', verticalalignment='center')
551
552
553@pytest.mark.parametrize('metadata,error,message', [

Callers

nothing calls this directly

Calls 3

_gen_multi_font_textFunction · 0.90
figureMethod · 0.80
textMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…