Grant commited on
Commit
30e243d
·
1 Parent(s): df9add2

re order check box and download button

Browse files
Files changed (2) hide show
  1. .ipynb_checkpoints/app-checkpoint.py +7 -5
  2. app.py +7 -5
.ipynb_checkpoints/app-checkpoint.py CHANGED
@@ -135,6 +135,13 @@ fig.add_annotation(
135
  # Show the scatter plot
136
  st.plotly_chart(fig)
137
 
 
 
 
 
 
 
 
138
  st.download_button(
139
  label=f"Download {selection_uid} data as CSV",
140
  data=ud.reset_index(drop=True).to_csv(),
@@ -142,11 +149,6 @@ st.download_button(
142
  mime='text/csv'
143
  )
144
 
145
- show_line_plots = st.checkbox("Show Sub and Del Effects Alone")
146
-
147
- if show_line_plots:
148
- st.plotly_chart(lt_apllr)
149
- st.plotly_chart(lt_llr)
150
 
151
 
152
  st.markdown("""
 
135
  # Show the scatter plot
136
  st.plotly_chart(fig)
137
 
138
+ show_line_plots = st.checkbox("Show Sub and Del Effects Alone")
139
+
140
+ if show_line_plots:
141
+ st.plotly_chart(lt_apllr)
142
+ st.plotly_chart(lt_llr)
143
+
144
+
145
  st.download_button(
146
  label=f"Download {selection_uid} data as CSV",
147
  data=ud.reset_index(drop=True).to_csv(),
 
149
  mime='text/csv'
150
  )
151
 
 
 
 
 
 
152
 
153
 
154
  st.markdown("""
app.py CHANGED
@@ -135,6 +135,13 @@ fig.add_annotation(
135
  # Show the scatter plot
136
  st.plotly_chart(fig)
137
 
 
 
 
 
 
 
 
138
  st.download_button(
139
  label=f"Download {selection_uid} data as CSV",
140
  data=ud.reset_index(drop=True).to_csv(),
@@ -142,11 +149,6 @@ st.download_button(
142
  mime='text/csv'
143
  )
144
 
145
- show_line_plots = st.checkbox("Show Sub and Del Effects Alone")
146
-
147
- if show_line_plots:
148
- st.plotly_chart(lt_apllr)
149
- st.plotly_chart(lt_llr)
150
 
151
 
152
  st.markdown("""
 
135
  # Show the scatter plot
136
  st.plotly_chart(fig)
137
 
138
+ show_line_plots = st.checkbox("Show Sub and Del Effects Alone")
139
+
140
+ if show_line_plots:
141
+ st.plotly_chart(lt_apllr)
142
+ st.plotly_chart(lt_llr)
143
+
144
+
145
  st.download_button(
146
  label=f"Download {selection_uid} data as CSV",
147
  data=ud.reset_index(drop=True).to_csv(),
 
149
  mime='text/csv'
150
  )
151
 
 
 
 
 
 
152
 
153
 
154
  st.markdown("""