Skip to content

adjust font size and add run_id to legends in FastEval - #2756

Open
iluise wants to merge 3 commits into
developfrom
plotting_enhancements
Open

adjust font size and add run_id to legends in FastEval #2756
iluise wants to merge 3 commits into
developfrom
plotting_enhancements

Conversation

@iluise

@iluise iluise commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Description

  • Append run_id to legend labels as '<run_id> - ' in plot_metric_region and quantile plots
  • Add '(target)' to map titles when tag is 'targets'
  • Pass font_size/font_type global_plotting_opts in config

example:

Issue Number

Closes #2716
Closes #2607

Is this PR a draft? Mark it as draft.

Checklist before asking for review

  • I have performed a self-review of my code
  • My changes comply with basic sanity checks:
    • I have fixed formatting issues with ./scripts/actions.sh lint
    • I have run unit tests with ./scripts/actions.sh unit-test
    • I have documented my code and I have updated the docstrings.
    • I have added unit tests, if relevant
  • I have tried my changes with data and code:
    • I have run the integration tests with ./scripts/actions.sh integration-test
    • (bigger changes) I have run a full training and I have written in the comment the run_id(s): launch-slurm.py --time 60
    • (bigger changes and experiments) I have shared a hegdedoc in the github issue with all the configurations and runs for this experiments
  • I have informed and aligned with people impacted by my change:
    • for config changes: the MatterMost channels and/or a design doc
    • for changes of dependencies: the MatterMost software development channel

FastEvaluation

  • I have updated the public documentation if necessary

iluise added 3 commits August 13, 2026 12:35
…t customization

- Append run_id to legend labels as '<run_id> - <label>' in plot_metric_region and quantile plots (matching existing ratio/heat_map behavior)
- Add '(target)' to map titles when tag is 'targets'
- Add apply_font_settings() utility for font_size/font_type via global_plotting_options
- Call apply_font_settings in all plotter classes: Plotter, LinePlots, QuantilePlots, ScoreCards, BarPlots
- Pass font_size/font_type through all plotter_cfg dicts in plot_orchestration.py
…tration level

- Move apply_font_settings from plotter.py to plot_utils.py (clean imports)
- Call once in plot_orchestration.py instead of in every plotter __init__
- Remove redundant calls from Plotter, LinePlots, QuantilePlots, ScoreCards, BarPlots
@github-actions github-actions Bot added the eval anything related to the model evaluation pipeline label Aug 13, 2026

@TillHae TillHae left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except for the accidental split of the logical or statement everything else looks fine.
I haven't tested the PR yet.

"plot_subtimesteps": reader.get_inference_stream_attr(stream, "tokenize_spacetime", False)
"font_size": global_plotting_opts.get("font_size"),
"font_type": global_plotting_opts.get("font_type"),
| plot_settings.get("plot_subtimesteps", False),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a part of l. 893 and in this form it should return a syntax error

@github-project-automation github-project-automation Bot moved this to In Progress in WeatherGen-dev Aug 18, 2026
@TillHae

TillHae commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Can we include include the apply_font_settings() method in plot_training.py as well?

Or is this completely independent from the evaluation package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eval anything related to the model evaluation pipeline

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

Plot run_id into FastEval legends implement customizable fonts in FastEval

2 participants