From 57a9491ec7d097980fe4c0d267e69b744a3c335e Mon Sep 17 00:00:00 2001 From: madsCodeBuddy Date: Wed, 29 Apr 2026 05:01:48 +0000 Subject: [PATCH] fix(test): move test_local_install legend back to right side The Stommel demo generated by 'make test-package' (test_stommel.html) had its legend placed above the plot via add_legend(p, position='above'), which compresses the plot vertically and pushes the title and toolbar out of useful range for a legend that long. Restoring position='right' keeps the legend outside the plot area in a vertical column where it was previously. --- tests/test_local_install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_local_install.py b/tests/test_local_install.py index 0905fa6..22766be 100644 --- a/tests/test_local_install.py +++ b/tests/test_local_install.py @@ -82,7 +82,7 @@ def main(): p = add_magnitude_labels(p, font_size="10pt", space_on_x=False) p = add_diffusion_lines(p, space_on_x=False) p = add_predefined_processes(p, transformed, interactive=False, font_size="9pt", space_on_x=False) - p = add_legend(p, position="above", font_size="9pt") + p = add_legend(p, position="right", font_size="9pt") print("Built Stommel diagram OK") # ── Save embeddable HTML ─────────────────────────────────────────