Bug summary
Hi, using matplotlib.testing.setup() on 3.11.0rc1, I get changes in the font rendering compared to 3.10.9, breaking our plotting tests.
How can I get the same rendering on both versions? I’m happy to change the reference images, but I need to unify the rendering somehow.
Code for reproduction
import matplotlib.pyplot as plt
from matplotlib.testing import setup
setup()
plt.figure(figsize=(4, 1))
plt.plot(range(3))
plt.yticks(range(3), ["Fib", "Flib", "Flob"])
plt.gcf()
Actual outcome
Actually good kerning that I’m excited about seeing in the future!
Expected outcome
Bad kerning like in 3.10.9
Additional information
See debug-data-hatch-test.pre.zip for failed test images
Operating system
macOS (images above come from there) and Ubuntu (test failures observed there)
Matplotlib Version
3.11.0rc1
Matplotlib Backend
Agg
Python version
3.14.0
Jupyter version
No response
Installation
uv
Bug summary
Hi, using
matplotlib.testing.setup()on 3.11.0rc1, I get changes in the font rendering compared to 3.10.9, breaking our plotting tests.How can I get the same rendering on both versions? I’m happy to change the reference images, but I need to unify the rendering somehow.
Code for reproduction
Actual outcome
Actually good kerning that I’m excited about seeing in the future!
Expected outcome
Bad kerning like in 3.10.9
Additional information
See debug-data-hatch-test.pre.zip for failed test images
Operating system
macOS (images above come from there) and Ubuntu (test failures observed there)
Matplotlib Version
3.11.0rc1
Matplotlib Backend
Agg
Python version
3.14.0
Jupyter version
No response
Installation
uv