Skip to content

[Bug]: Recent test_determinism_check flakiness #30360

@QuLogic

Description

@QuLogic

Bug summary

I have taken the results from https://github.com/matplotlib/matplotlib/actions/runs/16533707714/job/46764218849?pr=30334, extracted the diff, then put all the common and - lines in one file and the common and + files in another, and wrote them to separate files.

This produces a much simpler diff with just the lines that changed instead of a whole byte string diff:

--- a.eps	2025-07-25 20:29:08.047303419 -0400
+++ b.eps	2025-07-25 20:30:15.458646631 -0400
@@ -10771,27 +10771,7 @@
 0 setlinecap
 0 0 1 setrgbcolor
 gsave
-/c6 {
-279.447273 58.176 m
-387.665455 58.176 l
-387.665455 138.816 l
-279.447273 138.816 l
-cl
-333.556364 78.336 m
-333.556364 78.336 326.381414 78.336 319.499366 80.460185 c
-314.425911 84.240727 309.352456 88.02127 306.501818 93.149506 c
-306.501818 98.496 306.501818 103.842494 309.352456 108.97073 c
-314.425911 112.751273 319.499366 116.531815 326.381414 118.656 c
-333.556364 118.656 340.731313 118.656 347.613361 116.531815 c
-352.686816 112.751273 357.760272 108.97073 360.610909 103.842494 c
-360.610909 98.496 360.610909 93.149506 357.760272 88.02127 c
-352.686816 84.240727 347.613361 80.460185 340.731313 78.336 c
-cl
-
-clip
-newpath
-} bind def
-c6
+c5
 333.556364 150.912 m
 315.970909 121.192794 l
 272.638562 124.704 l

Code for reproduction

pytest

Actual outcome

Image

Expected outcome

Image

Additional information

No response

Operating system

No response

Matplotlib Version

tip of #30334

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

None

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions