Remove type from function settings
Browse files
functions/chart_functions.py
CHANGED
@@ -79,7 +79,7 @@ def chart_generation_func(data: List[dict], x_column: str, y_column: str, graph_
|
|
79 |
fig["layout"] = layout_dict
|
80 |
|
81 |
for key, value in data_dict.items():
|
82 |
-
if key not in ["x","y"]:
|
83 |
for data_item in fig["data"]:
|
84 |
data_item[key] = value
|
85 |
|
|
|
79 |
fig["layout"] = layout_dict
|
80 |
|
81 |
for key, value in data_dict.items():
|
82 |
+
if key not in ["x","y","type"]:
|
83 |
for data_item in fig["data"]:
|
84 |
data_item[key] = value
|
85 |
|