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]: misaligned between xticklabel baselines · Issue #32316 · matplotlib/matplotlib Open Labels DescriptionBug summaryCustom xticklabels can have their baselines misaligned. Code for reproductionfrom pylab import * mpl.rcdefaults() mpl.rcParams.update({"font.size": 9}) figure(figsize=(.5, .5), layout="constrained") # push the xticks next to one another to make things more visible yticks([]); xlim(-2, 3); xticks([0, 1]) gca().xaxis.set_major_formatter(lambda x, i: "pol." if x == 0 else str(int(x))) show() Actual outcome
Note the baseline misalignment between "pol." and "1". Expected outcomeNo misalignment. Additional informationAlthough this may seem similar to #31802, this is a regression in 3.11 (present both in agg and in mplcairo) -- I don't know if something else broke a previously accidentally correct alignment, and didn't run a full bisection. Operating systemmacos Matplotlib Versionmatplotlib-3.12.0.dev427+g4f7461066; bisected against 3.10.9 Matplotlib Backendagg or mplcairo Python version3.14 Jupyter versionNo response Installationgit checkout Activity
MetadataMetadataAssigneesLabelsTypeProjectsMilestoneRelationshipsDevelopmentIssue 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. |