Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -118,7 +118,7 @@ if 'key0' in st.session_state:
|
|
118 |
|
119 |
# Merge the label counts with the df_label DataFrame
|
120 |
df_labels = df_labels.merge(label_counts, on='Label', how='left')
|
121 |
-
|
122 |
|
123 |
fig = px.bar(df_labels,
|
124 |
x="Label",
|
@@ -126,7 +126,7 @@ if 'key0' in st.session_state:
|
|
126 |
# color='Country',
|
127 |
title='Label Counts',
|
128 |
hover_name="Count",
|
129 |
-
|
130 |
)
|
131 |
|
132 |
#Show plot
|
|
|
118 |
|
119 |
# Merge the label counts with the df_label DataFrame
|
120 |
df_labels = df_labels.merge(label_counts, on='Label', how='left')
|
121 |
+
st.write(df_labels)
|
122 |
|
123 |
fig = px.bar(df_labels,
|
124 |
x="Label",
|
|
|
126 |
# color='Country',
|
127 |
title='Label Counts',
|
128 |
hover_name="Count",
|
129 |
+
# color_discrete_sequence=px.colors.qualitative.Plotly
|
130 |
)
|
131 |
|
132 |
#Show plot
|