GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — [Bug]: pgf_rcupdate1 in test_backend_pgf.py::test_rcupdate fails for TeX Live 2026 · Issue #32505 · matplotlib/matplotlib Open DescriptionBug summaryWhen working on #32504 I tested the new baseline against TeX Live 2024, 2025, and 2026. When running the tests with TeX Live 2026 Code for reproduction__________________________________________________________________________________________ test_rcupdate __________________________________________________________________________________________ @needs_pgf_xelatex @needs_pgf_pdflatex @mpl.style.context('default') @pytest.mark.backend('pgf') def test_rcupdate(): rc_sets = [{'font.family': 'sans-serif', 'font.size': 30, 'figure.subplot.left': .2, 'lines.markersize': 10, 'pgf.rcfonts': False, 'pgf.texsystem': 'xelatex'}, {'font.family': 'monospace', 'font.size': 10, 'figure.subplot.left': .1, 'hatch.color': 'orange', 'hatch.linewidth': 2, 'lines.markersize': 20, 'pgf.rcfonts': False, 'pgf.texsystem': 'pdflatex', 'pgf.preamble': ('\\usepackage[utf8x]{inputenc}' '\\usepackage[T1]{fontenc}' '\\usepackage{sfmath}')}] tol = [0, 13.2] if _old_gs_version else [0, 0] for i, rc_set in enumerate(rc_sets): with mpl.rc_context(rc_set): for substring, pkg in [('sfmath', 'sfmath'), ('utf8x', 'ucs')]: if (substring in mpl.rcParams['pgf.preamble'] and not _has_tex_package(pkg)): pytest.skip(f'needs {pkg}.sty') create_figure() > compare_figure(f'pgf_rcupdate{i + 1}.pdf', tol=tol[i]) lib/matplotlib/tests/test_backend_pgf.py:167: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ fname = 'pgf_rcupdate1.pdf', savefig_kwargs = {}, tol = 0 def compare_figure(fname, savefig_kwargs={}, tol=0): actual = os.path.join(result_dir, fname) plt.savefig(actual, **savefig_kwargs) expected = os.path.join(result_dir, "expected_%s" % fname) shutil.copyfile(os.path.join(baseline_dir, fname), expected) err = compare_images(expected, actual, tol=tol) if err: > raise ImageComparisonFailure(err) E matplotlib.testing.exceptions.ImageComparisonFailure: Error: Image files did not match. E RMS Value: 1.0027234615164846 E Expected: E /home/axelj/Documents/matplotlib/matplotlib/result_images/test_backend_pgf/expected_pgf_rcupdate1_pdf.png E Actual: E /home/axelj/Documents/matplotlib/matplotlib/result_images/test_backend_pgf/pgf_rcupdate1_pdf.png E Difference: E /home/axelj/Documents/matplotlib/matplotlib/result_images/test_backend_pgf/pgf_rcupdate1_pdf-failed-diff.png E Tolerance: E 0 lib/matplotlib/tests/test_backend_pgf.py:37: ImageComparisonFailure Actual outcome
Expected outcome
Additional informationThis bug is similar to #29790 and perhaps again relates to rendering differences that have been introduced in TeX Live 2026. Operating systemUbuntu Matplotlib Version3.12.0 Matplotlib BackendNo response Python version3.12.14 Jupyter versionNo response InstallationNone ActivityMetadataMetadataAssigneesTypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |