Spaces:
Sleeping
Sleeping
Daniel Cerda Escobar
commited on
Commit
·
0da648b
1
Parent(s):
0fac2fc
Upgrade plot
Browse files
app.py
CHANGED
@@ -201,11 +201,11 @@ with col2:
|
|
201 |
hide_index = True,
|
202 |
)
|
203 |
with tab4:
|
204 |
-
col1,col2,col3 = st.columns([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, yaxis_title=None, showlegend=False,yaxis=dict(tick0=0,dtick=1))
|
209 |
-
st.plotly_chart(fig,use_container_width=True, theme=
|
210 |
|
211 |
|
|
|
201 |
hide_index = True,
|
202 |
)
|
203 |
with tab4:
|
204 |
+
col1,col2,col3 = st.columns([1,3,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, yaxis_title=None, showlegend=False,yaxis=dict(tick0=0,dtick=1),bargap=1)
|
209 |
+
st.plotly_chart(fig,use_container_width=True, theme=None )
|
210 |
|
211 |
|