Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -362,9 +362,6 @@ def main():
|
|
| 362 |
if selected_violation != st.session_state['selected_violation']:
|
| 363 |
st.session_state['selected_violation'] = selected_violation
|
| 364 |
|
| 365 |
-
# Display the bar chart
|
| 366 |
-
st.plotly_chart(fig, use_container_width=True)
|
| 367 |
-
|
| 368 |
# If a violation is selected, display the pie chart
|
| 369 |
if st.session_state['selected_violation']:
|
| 370 |
pie_chart = create_interactive_pie_chart(violations, st.session_state['selected_violation'])
|
|
|
|
| 362 |
if selected_violation != st.session_state['selected_violation']:
|
| 363 |
st.session_state['selected_violation'] = selected_violation
|
| 364 |
|
|
|
|
|
|
|
|
|
|
| 365 |
# If a violation is selected, display the pie chart
|
| 366 |
if st.session_state['selected_violation']:
|
| 367 |
pie_chart = create_interactive_pie_chart(violations, st.session_state['selected_violation'])
|