Spaces:
Sleeping
Sleeping
Update index.py
Browse files
index.py
CHANGED
@@ -321,7 +321,7 @@ def update_output(selected_topic, selected_domain, start_date, end_date):
|
|
321 |
pie_chart_2 = px.pie(
|
322 |
values=label_percentages,
|
323 |
names=label_percentages.index,
|
324 |
-
title=f'Distribuição para {
|
325 |
color_discrete_sequence=[label_colors[label] for label in label_percentages.index]
|
326 |
)
|
327 |
# pie_chart_2 = dcc.Graph(figure=fig)
|
|
|
321 |
pie_chart_2 = px.pie(
|
322 |
values=label_percentages,
|
323 |
names=label_percentages.index,
|
324 |
+
title=f'Distribuição para {selected_domain}',
|
325 |
color_discrete_sequence=[label_colors[label] for label in label_percentages.index]
|
326 |
)
|
327 |
# pie_chart_2 = dcc.Graph(figure=fig)
|