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>
This commit is contained in:
Kristofer Rye 2019-09-18 12:42:49 -05:00
parent ae4c8a3674
commit f709969362
No known key found for this signature in database
GPG key ID: 7B91DEA088C460CC

View file

@ -301,19 +301,6 @@ 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