changeset 306:81f22dabe9b8 draft

Uploaded
author luca_milaz
date Mon, 05 Aug 2024 11:18:43 +0000
parents 7ab74327939d
children d1319e7ecca3
files marea_2/flux_to_map.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/marea_2/flux_to_map.py	Mon Aug 05 11:15:45 2024 +0000
+++ b/marea_2/flux_to_map.py	Mon Aug 05 11:18:43 2024 +0000
@@ -842,7 +842,7 @@
     value = abs(value)
 
     if(np.round(value, 6) == 0.0):
-        return np.array([np.array([190]), np.array([190]), np.array([190])]) #grey
+        return np.array([0.745, 0.745, 0.745])  #grey
     
     # Define the red, green, and blue color components
     red = np.clip(1.5 - np.abs(4 * (value - 0.75)), 0, 1)