test: Regenerate matplotlib 3.11 plot references to match CI timezone#8706
Merged
Merged
Conversation
The matplotlib 3.11 accounting-plot references (added for the Python 3.14 DIRACOS build) were rendered in a UTC environment, but DIRAC's Graphs format time-axis labels in the machine's local timezone (GraphUtilities.add_time_to_title via time.localtime, and the *Graph classes via datetime.fromtimestamp). The DIRAC and DIRACOS2 integration CIs both render these plots in CET, so the UTC references were one hour off on the five time-axis plots and failed under matplotlib 3.11. Regenerate those five references from the matplotlib 3.11 CI output; the older <stem>.png references are unchanged.
chrisburr
force-pushed
the
fix/plot-tests-utc-v8r0
branch
from
July 12, 2026 19:41
6bd18ee to
16f5fcf
Compare
chrisburr
marked this pull request as ready for review
July 12, 2026 20:50
aldbr
approved these changes
Jul 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The matplotlib 3.11 accounting-plot reference images added for the Python 3.14 DIRACOS build were rendered in a UTC environment. DIRAC's
Graphsformat time-axis labels in the machine's local timezone (GraphUtilities.add_time_to_titleviatime.localtime, and the*Graphclasses viadatetime.fromtimestamp) while labelling them "UTC", so the plots depend on the renderer's timezone.Both the DIRAC and DIRACOS2 integration CIs render these plots in CET, so the UTC references were one hour off on the five time-axis plots (
stackedline,cumulativeplot,timedstackedbarplot,qualityplot1,qualityplot2) and failed the comparison under matplotlib 3.11 in the DIRACOS2 (Python 3.14) build. The older<stem>.pngreferences were already CET, which is why DIRAC's own CI (matplotlib 3.10) kept passing.This regenerates those five references from the matplotlib 3.11 CI output so they match. No code change; the
<stem>.pngreferences are unchanged.Note: the underlying local-time-labelled-"UTC" behaviour in
Graphsis a pre-existing quirk, unrelated to this change.