Daniel Cerda Escobar
commited on
Commit
•
d9d5a5e
1
Parent(s):
62438b8
Upgrade plot
Browse files
app.py
CHANGED
@@ -211,7 +211,7 @@ with col2:
|
|
211 |
with col2:
|
212 |
chart_data = st.session_state["output_4"]
|
213 |
fig = px.bar(chart_data, x='category', y='count', color='category')
|
214 |
-
fig.update_layout(xaxis_title=None, yaxis_title=None, showlegend=False,yaxis=dict(tick0=0,dtick=1),bargap=0.5)
|
215 |
st.plotly_chart(fig,use_container_width=True, theme='streamlit' )
|
216 |
|
217 |
|
|
|
211 |
with col2:
|
212 |
chart_data = st.session_state["output_4"]
|
213 |
fig = px.bar(chart_data, x='category', y='count', color='category')
|
214 |
+
fig.update_layout(title='Objects Detected',xaxis_title=None, yaxis_title=None, showlegend=False,yaxis=dict(tick0=0,dtick=1),bargap=0.5)
|
215 |
st.plotly_chart(fig,use_container_width=True, theme='streamlit' )
|
216 |
|
217 |
|