From c313cea5b822a38708cdd3570af760439254e774 Mon Sep 17 00:00:00 2001
From: FZill <florian.zill@ufz.de>
Date: Fri, 23 Feb 2024 17:51:03 +0100
Subject: [PATCH] [meshplotlib] allow for more vertical plots

---
 docs/examples/howto_meshplotlib/plot_aspect_ratios.py | 4 ++--
 ogstools/meshplotlib/plot_setup_defaults.py           | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/examples/howto_meshplotlib/plot_aspect_ratios.py b/docs/examples/howto_meshplotlib/plot_aspect_ratios.py
index 015c7cfe4..aba979aed 100644
--- a/docs/examples/howto_meshplotlib/plot_aspect_ratios.py
+++ b/docs/examples/howto_meshplotlib/plot_aspect_ratios.py
@@ -64,13 +64,13 @@ fig = plot(
 # ratio.
 
 # %%
-fig = plot(custom_mesh(np.pi, np.pi * 2), "example")
+fig = plot(custom_mesh(np.pi, np.pi * 3), "example")
 # %% [markdown]
 # The same is true here:
 
 # %%
 fig = plot(
-    [custom_mesh(np.pi, np.pi * 2), custom_mesh(np.pi, np.pi * 2)], "example"
+    [custom_mesh(np.pi, np.pi * 3), custom_mesh(np.pi, np.pi * 3)], "example"
 )
 
 # %% [markdown]
diff --git a/ogstools/meshplotlib/plot_setup_defaults.py b/ogstools/meshplotlib/plot_setup_defaults.py
index 35f8e03ce..7d53febb4 100644
--- a/ogstools/meshplotlib/plot_setup_defaults.py
+++ b/ogstools/meshplotlib/plot_setup_defaults.py
@@ -10,7 +10,7 @@ setup_dict = {
     "default_cmap": "RdBu_r",
     "dpi": 120,
     "fig_scale": 1.0,
-    "min_ax_aspect": 1.0,
+    "min_ax_aspect": 0.5,
     "max_ax_aspect": 2.0,
     "invert_colorbar": False,
     "layout": "compressed",
-- 
GitLab