Conversation
QianyeSu
force-pushed
the
fix/32316-xticklabel-baselines
branch
2 times, most recently
from
October 2, 2026 09:52
44a5dff to
09d21bf
Compare
QianyeSu
force-pushed
the
fix/32316-xticklabel-baselines
branch
from
October 2, 2026 11:21
09d21bf to
96340c1
Compare
Contributor
Author
|
I pushed commit The first CI run showed that The free-threaded Linux job had 3 image failures (all baseline/layout comparisons, no Python exceptions). A new CI run is now queued for the narrowed change. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #32316.
Summary
lpmetrics."pol."and"1") on a common baseline after the text metric changes in 3.11.The adjustment is limited to labels produced by a
FuncFormatter; default numeric tick formatting, fixed labels, and rotated labels retain their existing layout behavior.Tests
MPLBACKEND=Agg ./.venv/bin/pytest -q lib/matplotlib/tests/test_text.py lib/matplotlib/tests/test_axes.py lib/mpl_toolkits/axes_grid1/tests/test_axes_grid1.py lib/mpl_toolkits/mplot3d/tests/test_axes3d.py lib/matplotlib/tests/test_colorbar.pypython -m compileall -q lib/matplotlib/axis.py lib/matplotlib/text.py lib/matplotlib/tests/test_text.pygit diff --checkThe focused Matplotlib test run passed with
1338 passed, 91 skipped.AI Disclosure
I used an AI coding assistant to help investigate the regression, draft the implementation, and run the tests. I reviewed the changes, the resulting baseline images, and the test output before opening this pull request.