From 60dd00cf54d444e749e03bbba36b09e86fdfba9a Mon Sep 17 00:00:00 2001 From: Jakob Snoeink Date: Mon, 9 Feb 2026 12:45:35 +0100 Subject: [PATCH 1/2] FIX: Make map projections work by changing label_mode "" from to "L". May be python version dependent. --- src/aeolus/plot/cart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/aeolus/plot/cart.py b/src/aeolus/plot/cart.py index 73fbeda1..430d1eaa 100644 --- a/src/aeolus/plot/cart.py +++ b/src/aeolus/plot/cart.py @@ -35,7 +35,7 @@ def __init__(self, fig, rect, nrows_ncols, projection, **axesgrid_kw): the subplot position code (e.g., "121"). """ axesgrid_kw["axes_class"] = (GeoAxes, {"map_projection": projection}) - axesgrid_kw["label_mode"] = "" # note the empty label_mode + axesgrid_kw["label_mode"] = "L" # other systems may require an empty label_mode super().__init__(fig, rect, nrows_ncols, **axesgrid_kw) From 61558c4962d234fffd925b098829e0d60154ff2c Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 9 Feb 2026 11:51:38 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/aeolus/plot/cart.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/aeolus/plot/cart.py b/src/aeolus/plot/cart.py index 430d1eaa..8223271c 100644 --- a/src/aeolus/plot/cart.py +++ b/src/aeolus/plot/cart.py @@ -35,7 +35,9 @@ def __init__(self, fig, rect, nrows_ncols, projection, **axesgrid_kw): the subplot position code (e.g., "121"). """ axesgrid_kw["axes_class"] = (GeoAxes, {"map_projection": projection}) - axesgrid_kw["label_mode"] = "L" # other systems may require an empty label_mode + axesgrid_kw["label_mode"] = ( + "L" # other systems may require an empty label_mode + ) super().__init__(fig, rect, nrows_ncols, **axesgrid_kw)