Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: datashader new release test #104

Merged
merged 3 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion training/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ dependencies = [
"anemoi-graphs>=0.4.1",
"anemoi-models>=0.4.1",
"anemoi-utils[provenance]>=0.4.4",
"dask<=2024.12.1", # pinned until a new datashader version is released
"datashader>=0.16.3",
"einops>=0.6.1",
"hydra-core>=1.3",
Expand Down
2 changes: 1 addition & 1 deletion training/src/anemoi/training/diagnostics/callbacks/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ def automatically_determine_group(name: str) -> str:

# set x-ticks
x_tick_positions = np.cumsum(group_counts) - group_counts / 2 - 0.5
xticks = dict(zip(unique_group_list, x_tick_positions, strict=False))
xticks = dict(zip(unique_group_list, x_tick_positions))

legend_patches = []
for group_idx, group in enumerate(unique_group_list):
Expand Down