diff --git a/swash/processing/post.py b/swash/processing/post.py index 616d436..50cd5e8 100644 --- a/swash/processing/post.py +++ b/swash/processing/post.py @@ -83,7 +83,7 @@ ax_r.grid() fig_x, ax_x = plt.subplots() ax_x.plot(bathy.index, botl[0, :], color='k') -ax_x.plot(bathy.index, (dep-botl)[t == t0, :]) +ax_x.plot(bathy.index, (dep-botl)[t == t0, :].T) ax_x.axvline(x0) ax_x.set(xlabel="x (m)", ylabel="z (m)") ax_x.autoscale(axis="x", tight=True)