Spaces:
Sleeping
Sleeping
Update index.py
Browse files
index.py
CHANGED
@@ -294,7 +294,7 @@ def update_output(selected_topic, selected_domain, start_date, end_date):
|
|
294 |
line_fig_2 = px.line(merged_df, x="date", y="count", color="FinBERT_label",
|
295 |
line_group="FinBERT_label", title="Sentimento ao longo do tempo",
|
296 |
labels={"count": "Número de notícias", "date": "Date"},
|
297 |
-
color_discrete_sequence=[label_colors[label] for label in all_combinations.index]
|
298 |
)
|
299 |
|
300 |
|
|
|
294 |
line_fig_2 = px.line(merged_df, x="date", y="count", color="FinBERT_label",
|
295 |
line_group="FinBERT_label", title="Sentimento ao longo do tempo",
|
296 |
labels={"count": "Número de notícias", "date": "Date"},
|
297 |
+
color_discrete_sequence=['#039a4d', '#3c03f4', '#ca3919'] #[label_colors[label] for label in all_combinations.index]
|
298 |
)
|
299 |
|
300 |
|