Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -153,9 +153,9 @@ if viz_type == "Complaints by Housing Block and Type":
|
|
| 153 |
block_options = ['All Blocks'] + sorted(data['Housing Block'].unique().tolist())
|
| 154 |
selected_block = st.sidebar.selectbox("Select Housing Block", options=block_options, key="block_select")
|
| 155 |
|
| 156 |
-
# Allow the user to select the type of chart (Bar or Pie) for Submission Methods
|
| 157 |
-
if viz_type == "Submission Methods":
|
| 158 |
-
|
| 159 |
|
| 160 |
# Ensure selected_block is only used if defined
|
| 161 |
if viz_type == "Complaints by Housing Block and Type" and 'selected_block' not in locals():
|
|
|
|
| 153 |
block_options = ['All Blocks'] + sorted(data['Housing Block'].unique().tolist())
|
| 154 |
selected_block = st.sidebar.selectbox("Select Housing Block", options=block_options, key="block_select")
|
| 155 |
|
| 156 |
+
# # Allow the user to select the type of chart (Bar or Pie) for Submission Methods
|
| 157 |
+
# if viz_type == "Submission Methods":
|
| 158 |
+
# plot_type = st.sidebar.selectbox("Select Plot Type", options=["Bar Chart", "Pie Chart"], key="plot_type_select")
|
| 159 |
|
| 160 |
# Ensure selected_block is only used if defined
|
| 161 |
if viz_type == "Complaints by Housing Block and Type" and 'selected_block' not in locals():
|