From be32887eee56f6a318a66795086b2d04315044df Mon Sep 17 00:00:00 2001 From: "Edgar P. Burkhart" Date: Mon, 9 May 2022 11:23:38 +0200 Subject: [PATCH] Update colorbar range for animate --- olaflow/processing/animate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/olaflow/processing/animate.py b/olaflow/processing/animate.py index 9598028..32fb8c7 100644 --- a/olaflow/processing/animate.py +++ b/olaflow/processing/animate.py @@ -101,7 +101,7 @@ u_m = axU.pcolormesh( U[0], cmap="BuPu", vmin=0, - vmax=np.nanquantile(U, 0.99), + vmax=np.nanmax(U), zorder=1, alpha=np.nan_to_num(AW[0]).clip(0, 1), ) @@ -111,7 +111,7 @@ ur_m = axU.pcolormesh( U[0], cmap="YlOrBr", vmin=0, - vmax=np.nanquantile(U, 0.99), + vmax=np.nanmax(U), zorder=1, alpha=1 - np.nan_to_num(AW[0]).clip(0, 1), )