kunifujiwara commited on
Commit
5e6132a
·
1 Parent(s): a4cef1b

modify pages

Browse files
Files changed (1) hide show
  1. Home.py +7 -2
Home.py CHANGED
@@ -195,8 +195,13 @@ def app():
195
 
196
  # Display the legend in the middle column
197
  with right_spacer:
198
- st.image(f"data:image/png;base64,{legend_img}", caption="Color Scale", use_column_width=True)
199
- st.markdown("<h4 style='text-align: center;'>緑被率 %</h4>", unsafe_allow_html=True)
 
 
 
 
 
200
 
201
  if st.checkbox("Show raw data"):
202
  st.write(gdf_filtered[['CITY_NAME', 'S_NAME', selected_attribute]])
 
195
 
196
  # Display the legend in the middle column
197
  with right_spacer:
198
+ st.markdown("""
199
+ <h3 style='text-align: center; font-weight: bold; font-size: 20px;'>緑被率 %</h3>
200
+ """, unsafe_allow_html=True)
201
+ st.image(f"data:image/png;base64,{legend_img}", use_column_width=True)
202
+ st.markdown("""
203
+ <p style='text-align: center; font-weight: bold; font-size: 16px;'>Color Scale</p>
204
+ """, unsafe_allow_html=True)
205
 
206
  if st.checkbox("Show raw data"):
207
  st.write(gdf_filtered[['CITY_NAME', 'S_NAME', selected_attribute]])