From 4bdbfbde319ce1482126e5db6330b5b261a21c12 Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Wed, 30 Mar 2022 14:38:51 +0200 Subject: [PATCH] Make x plot usable --- swash/processing/post.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/swash/processing/post.py b/swash/processing/post.py index 89eb669..eb97a32 100644 --- a/swash/processing/post.py +++ b/swash/processing/post.py @@ -143,7 +143,7 @@ ax_r.legend(loc="upper left") ax_fft.legend(loc="upper right") fig_r.tight_layout() -fig_x, ax_x = plt.subplots(figsize=(10, 1)) +fig_x, ax_x = plt.subplots() ax_x.plot(x, -botl, color="k") ax_x.plot( x, @@ -159,7 +159,6 @@ if config.has_option("post", "compare"): ax_x.axvline(x0, c="k", alpha=0.2) ax_x.set(xlabel="x (m)", ylabel="z (m)") ax_x.autoscale(axis="x", tight=True) -ax_x.set(aspect="equal") fig_x.tight_layout() out = pathlib.Path(config.get("post", "out")).joinpath(f"t{t0}x{x0}")