+# Template for UIState (Currently supports only colors)
UI_STATE_BODY = {
"vis": {
"colors": None
colors = {}
+ # Check for 'color' key in 'series' or 'seriesParams' in
+ # either viz_config and dash_config
+
+ # Note:- 'series' simplifies 'seriesParams' and 'aggs'
+ # and avoids duplication
+
try:
series = dash_config['y-axis']['series']
for _, value in series.items():