diff --git a/swash/processing/animate.py b/swash/processing/animate.py index b6cd8ff..33796ce 100644 --- a/swash/processing/animate.py +++ b/swash/processing/animate.py @@ -41,7 +41,14 @@ wl = np.maximum(watl, -botl) fig, ax = plt.subplots() ax.plot(x, -botl, c="k") ax.set(xlim=(x.min(), x.max()), ylim=(-30, 10), xlabel="x (m)", ylabel="z (m)") -tit = ax.text(0.5, 0, f't={t[0]}', horizontalalignment='center', verticalalignment='bottom', transform=ax.transAxes) +tit = ax.text( + 0.5, + 0, + f"t={t[0]}", + horizontalalignment="center", + verticalalignment="bottom", + transform=ax.transAxes, +) ax.grid() # ax.fill_between( # x, -botl, -data["botl"] + bathy.hstru, color="k", alpha=0.2