ralate2 commited on
Commit
23e91fe
·
verified ·
1 Parent(s): e4cc22a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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
- 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():
 
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():