()
| 124 | @image_comparison(['pgf_pdflatex.pdf'], style='default', |
| 125 | tol=11.71 if _old_gs_version else 0) |
| 126 | def 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 |
nothing calls this directly
no test coverage detected
searching dependent graphs…