Skip to content

Commit b4c2c4e

Browse files
refactor(global_variables): replace color palette with cyclical color scheme
1 parent dfc4664 commit b4c2c4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pages/lib/global_variables.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from typing import Optional, List, Any
33
from enum import Enum
44
from config import UnitSystem
5-
from plotly.colors import sequential as pseq
5+
from plotly.colors import cyclical
66

77

88
class ColorPalettes(Enum):
@@ -292,7 +292,7 @@ class Variables:
292292
name="Wind direction",
293293
unit="°deg",
294294
range=[0, 360],
295-
color=list(pseq.Viridis),
295+
color=list(cyclical.mrybm),
296296
)
297297
WIND_SPEED = VariableInfo(
298298
col_name="wind_speed",

0 commit comments

Comments
 (0)