# HG changeset patch # User luca_milaz # Date 1722856186 0 # Node ID d701439736396c9eeadd62d4a38e157bdda25d4c # Parent 2641ef285d147c41d24e96e3297ddddddc0a387f Uploaded diff -r 2641ef285d14 -r d70143973639 marea_2/flux_to_map.py --- a/marea_2/flux_to_map.py Mon Aug 05 11:05:22 2024 +0000 +++ b/marea_2/flux_to_map.py Mon Aug 05 11:09:46 2024 +0000 @@ -841,8 +841,8 @@ """ value = abs(value) - if(np.round(value, 6) == 0.0): - return np.array([190, 190, 190])#grey + '''if(np.round(value, 6) == 0.0): + return np.array([190, 190, 190])#grey''' # Define the red, green, and blue color components red = np.clip(1.5 - np.abs(4 * (value - 0.75)), 0, 1)