Update colormap and limits for animate & diff
This commit is contained in:
parent
358338af2e
commit
97c856a73c
2 changed files with 7 additions and 5 deletions
|
|
@ -107,7 +107,7 @@ u_m = axU.imshow(
|
|||
U[0],
|
||||
cmap="BuPu",
|
||||
vmin=0,
|
||||
vmax=np.nanmax(np.where(AW > 0.5, U, np.nan), initial=0),
|
||||
vmax=20,
|
||||
extent=(x0.min(), x0.max(), z0.min(), z0.max()),
|
||||
zorder=1,
|
||||
alpha=np.nan_to_num(AW[0]).clip(0, 1),
|
||||
|
|
@ -116,7 +116,7 @@ ur_m = axU.imshow(
|
|||
U[0],
|
||||
cmap="YlOrBr",
|
||||
vmin=0,
|
||||
vmax=np.nanmax(np.where(AW > 0.5, U, np.nan), initial=0),
|
||||
vmax=20,
|
||||
extent=(x0.min(), x0.max(), z0.min(), z0.max()),
|
||||
zorder=1,
|
||||
alpha=1 - np.nan_to_num(AW[0]).clip(0, 1),
|
||||
|
|
|
|||
Reference in a new issue