Spaces:
Sleeping
Sleeping
Commit
·
5e1132f
1
Parent(s):
f9f20fd
hiding table in dropdown
Browse files- app/app.py +7 -5
app/app.py
CHANGED
@@ -423,10 +423,11 @@ with main:
|
|
423 |
|
424 |
with map_col:
|
425 |
m.to_streamlit(height=650)
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
|
|
430 |
|
431 |
with stats_col:
|
432 |
with st.container():
|
@@ -463,8 +464,9 @@ with main:
|
|
463 |
st.altair_chart(rx_10_chart, use_container_width=True)
|
464 |
|
465 |
|
466 |
-
st.caption("***The label 'established' is inferred from the California Protected Areas Database, which may introduce artifacts. For details on our methodology, please refer to our
|
467 |
|
|
|
468 |
st.caption("***Under California’s 30x30 framework, only GAP codes 1 and 2 are counted toward the conservation goal.")
|
469 |
|
470 |
st.divider()
|
|
|
423 |
|
424 |
with map_col:
|
425 |
m.to_streamlit(height=650)
|
426 |
+
with st.expander("🔍 View table of mapped data"):
|
427 |
+
if 'out' not in locals():
|
428 |
+
st.dataframe(df_tab, use_container_width = True)
|
429 |
+
else:
|
430 |
+
st.dataframe(out, use_container_width = True)
|
431 |
|
432 |
with stats_col:
|
433 |
with st.container():
|
|
|
464 |
st.altair_chart(rx_10_chart, use_container_width=True)
|
465 |
|
466 |
|
467 |
+
st.caption("***The label 'established' is inferred from the California Protected Areas Database, which may introduce artifacts. For details on our methodology, please refer to our <a href='https://github.com/boettiger-lab/ca-30x30' target='_blank'>our source code</a>.", unsafe_allow_html=True)
|
468 |
|
469 |
+
|
470 |
st.caption("***Under California’s 30x30 framework, only GAP codes 1 and 2 are counted toward the conservation goal.")
|
471 |
|
472 |
st.divider()
|