You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the last item in a Mathtext Vlist is an Hrule, the AGG and SVG backends render the image differently. The difference is not obvious at small font sizes.
To see this happen, we have to dive into Mathtext internals. An easy way is to modify fractions to end with the horizontal rule.
Uh oh!
There was an error while loading. Please reload this page.
Bug summary
When the last item in a Mathtext
Vlist
is anHrule
, the AGG and SVG backends render the image differently. The difference is not obvious at small font sizes.To see this happen, we have to dive into Mathtext internals. An easy way is to modify fractions to end with the horizontal rule.
Code for reproduction
Actual outcome
PNG output
SVG output
Expected outcome
Both images should be identical.
Additional information
Why does it matter if it's related to a private module in Matplotlib?
This is one of the things holding up #23616.
Vlist
s ending with anHrule
are not being positioned correctly.Operating system
Ubuntu 20.04 LTS Focal Fossa on WSL
Matplotlib Version
3.5.0.dev5855+gee2f68bdc9
Matplotlib Backend
WXAgg
Python version
Python 3.8.10
Jupyter version
6.0.3
Installation
git checkout
The text was updated successfully, but these errors were encountered: