Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Flaky test_contour.py::test_labels on minver CI #31513

@QuLogic

Description

@QuLogic

Bug summary

Since the merge of the font overhaul branch, this test has been failing on minver only with RMS 0.994. That branch did drop the tolerance down from 1.1 to 0, so maybe we just need to up it for now, but it would be nice to figure out why.

Code for reproduction

pytest lib/matplotlib/tests/test_contour.py::test_labels

Actual outcome

Image

As you can see, the contour line is not split correctly for the bottom-most label, and overlaps the minus sign. The diff also shows that the text is minorly different (maybe half pixel off?):

Image

Expected outcome

Image

Additional information

No response

Operating system

Linux

Matplotlib Version

5d0a4f5

Matplotlib Backend

n/a

Python version

3.11

Jupyter version

n/a

Installation

git checkout

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions