You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say that I'm not interested in values below ±4 (they are within the internal variability, or whatever). I would appreciate a way to easily hide them and associate all of that range to a white color.
What I did
I can use da.where(np.abs(da) > 4) to hide those grid cells on the graph itself, but the colorbar will stay the same and will be confusing. This is not a solution.
Ideally, I would also like the color gradient to start after the white zone (±4 in this example), which would not happen with the .where() solution.
The text was updated successfully, but these errors were encountered:
Description
I have this colorbar:
Let's say that I'm not interested in values below ±4 (they are within the internal variability, or whatever). I would appreciate a way to easily hide them and associate all of that range to a white color.
What I did
I can use
da.where(np.abs(da) > 4)
to hide those grid cells on the graph itself, but the colorbar will stay the same and will be confusing. This is not a solution.Ideally, I would also like the color gradient to start after the white zone (±4 in this example), which would not happen with the
.where()
solution.The text was updated successfully, but these errors were encountered: