From f709969362996fbf61017c2f5ee1e7cc5693352f Mon Sep 17 00:00:00 2001
From: Kristofer Rye <kristofer.rye@gmail.com>
Date: Wed, 18 Sep 2019 12:42:49 -0500
Subject: [PATCH] lib/spark.py: Remove unnecessary assignment to color_codes

Since color_codes is immediately redefined directly below this, the
former of the two assignemnts is unnecessary.

Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>
---
 lib/spark.py | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/lib/spark.py b/lib/spark.py
index 47c935d..e7d2c5a 100644
--- a/lib/spark.py
+++ b/lib/spark.py
@@ -302,22 +302,9 @@ def draw_wind(data, color_data):
     def _color_code_for_wind_speed(wind_speed):
 
         color_codes = [
-            (3, 82),    # 82
-            (6, 118),   # 118
-            (9, 154),   # 154
-            (12, 250),  # 190
-            (15, 246),  # 226
-            (19, 253),  # 220
-            (23, 214),
-            (27, 208),
-            (31, 202),
-            (-1, 196)
-        ]
-
-        color_codes = [
-            (3,  241),    # 82
-            (6,  242),   # 118
-            (9,  243),   # 154
+            (3,  241),  # 82
+            (6,  242),  # 118
+            (9,  243),  # 154
             (12, 246),  # 190
             (15, 250),  # 226
             (19, 253),  # 220