Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
7769dd4
1
Parent(s):
f11e532
Upgrade plot
Browse files
app.py
CHANGED
@@ -204,7 +204,8 @@ with col2:
|
|
204 |
col1,col2,col3 = st.columns([1,4,1])
|
205 |
with col2:
|
206 |
chart_data = st.session_state["output_4"]
|
207 |
-
fig = px.bar(chart_data, x='category', y='count')
|
208 |
-
|
|
|
209 |
|
210 |
|
|
|
204 |
col1,col2,col3 = st.columns([1,4,1])
|
205 |
with col2:
|
206 |
chart_data = st.session_state["output_4"]
|
207 |
+
fig = px.bar(chart_data, x='category', y='count', color='category')
|
208 |
+
fig.update_layout(xaxis_title=None)
|
209 |
+
st.plotly_chart(fig,use_container_width=True, theme=None )
|
210 |
|
211 |
|