From b0e42a2ebc408939d43b4c6eaa451dd229a2efd6 Mon Sep 17 00:00:00 2001
From: Feliks Kiszkurno <feliks-kuba.kiszkurno@ufz.de>
Date: Tue, 19 Mar 2024 13:58:03 +0100
Subject: [PATCH] Removes not needed keywords

---
 ogstools/meshplotlib/core.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ogstools/meshplotlib/core.py b/ogstools/meshplotlib/core.py
index 7d46a9203..dc81e85f8 100644
--- a/ogstools/meshplotlib/core.py
+++ b/ogstools/meshplotlib/core.py
@@ -624,7 +624,7 @@ def plot(
             ax.set_aspect(1.0 / aspect)
     elif ax is not None and fig is None:
         _draw_plot(meshes, mesh_property, ax=ax)
-        ax.set_aspect(1.0 / ax_aspects[0], share=True)
+        ax.set_aspect(1.0 / ax_aspects[0])
     elif ax is None and fig is not None:
         fig = _draw_plot(meshes, mesh_property, fig=fig)
         for ax, aspect in zip(fig.axes[: n_axs + 1], ax_aspects):
@@ -632,7 +632,7 @@ def plot(
     elif ax is not None and fig is not None:
         _draw_plot(meshes, mesh_property, fig=fig, ax=ax)
         for ax, aspect in zip(fig.axes[: n_axs + 1], ax_aspects):
-            ax.set_aspect(1.0 / aspect, adjustable="box")
+            ax.set_aspect(1.0 / aspect)
     return fig
 
 
-- 
GitLab