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

Function test_pdflatex

lib/matplotlib/tests/test_backend_pgf.py:126–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124@image_comparison(['pgf_pdflatex.pdf'], style='default',
125 tol=11.71 if _old_gs_version else 0)
126def test_pdflatex():
127 rc_pdflatex = {'font.family': 'serif',
128 'pgf.rcfonts': False,
129 'pgf.texsystem': 'pdflatex',
130 'pgf.preamble': ('\\usepackage[utf8x]{inputenc}'
131 '\\usepackage[T1]{fontenc}')}
132 mpl.rcParams.update(rc_pdflatex)
133 create_figure()
134
135
136# test updating the rc parameters for each figure

Callers

nothing calls this directly

Calls 2

create_figureFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…