changeset 303:d70143973639 draft

Uploaded
author luca_milaz
date Mon, 05 Aug 2024 11:09:46 +0000
parents 2641ef285d14
children 47e7570565cf
files marea_2/flux_to_map.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)