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
and then with nightly wheel
(pip install --upgrade --pre --index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple --extra-index-url https://pypi.org/simple matplotlib
This gives two images where the labels of the positive y-ticks are shifted slightly. Here's me toggling between the two generated images:
And here is the diff image from the ipympl tests
Expected outcome
No differences
Additional information
We also run latest tests on macos, and those did not fail, so this seems to be specific to ubuntu.
Operating system
Ubuntu
Matplotlib Version
latest
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
The text was updated successfully, but these errors were encountered:
Are you locking your freetype between the two tests? We have a lot of image tests like this that would have broken if this were a change in Matplotlib.
AFAICT, ipympl tests install matplotlib from conda-forge. This is built against conda-forge's FreeType and thus text rendering is dependent on which one conda-forge has.
Bug summary
The latest matplotlib has slightly different font positioning on Ubuntu than the released 3.7
This was discovered by
ipympl
s tests here: matplotlib/ipympl#514 (comment)Code for reproduction
Actual outcome
Run first with
3.7.0
and then with nightly wheel
(
pip install --upgrade --pre --index-url https://pypi.anaconda.org/scipy-wheels-nightly/simple --extra-index-url https://pypi.org/simple matplotlib
This gives two images where the labels of the positive y-ticks are shifted slightly. Here's me toggling between the two generated images:
And here is the diff image from the ipympl tests
Expected outcome
No differences
Additional information
We also run latest tests on macos, and those did not fail, so this seems to be specific to ubuntu.
Operating system
Ubuntu
Matplotlib Version
latest
Matplotlib Backend
No response
Python version
No response
Jupyter version
No response
Installation
None
The text was updated successfully, but these errors were encountered: