Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Labels
Description
Bug report
Bug summary
I noticed this in the mathtext tutorial after#20605. The text in the accent section is cut off, so that the triple dot and quadruple dot accent appear to be the same.
Code for reproduction
frommatplotlib.font_managerimportFontPropertiesfrommatplotlib.mathtextimportmath_to_imagepstra= [r'$\dot{x}$',r'$\ddot{x}$',r'$\dddot{x}$',r'$\ddddot{x}$']fori,textinenumerate(pstra):math_to_image(text,f'text{i}.png',prop=FontProperties(size=50),dpi=100)
Actual outcome
In fact, looking at it closely, I think thex
may be cut off in the top right as well. It should come to a point, I believe, not a corner.
Expected outcome
The last image should have 4 dots above the x.
Matplotlib version
- Operating system: Fedora 34
- Matplotlib version (
import matplotlib; print(matplotlib.__version__)
):0dd603f - Matplotlib backend (
print(matplotlib.get_backend())
): N/A - Python version: 3.7.6