Skip to content

Commit

Permalink
fix: datashader new release test (#104)
Browse files Browse the repository at this point in the history
* datashader new release test

* remove for py3.9 compatibility
  • Loading branch information
anaprietonem authored Feb 28, 2025
1 parent 42c5706 commit e9c0701
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
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

0 comments on commit e9c0701

Please sign in to comment.