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}")