Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,11 @@
|
|
| 12 |
import warnings
|
| 13 |
warnings.filterwarnings("ignore")
|
| 14 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
import pandas as pd
|
| 16 |
import altair as alt
|
| 17 |
from vega_datasets import data as vega_data
|
|
@@ -41,7 +46,7 @@ diet_colors = alt.Scale(
|
|
| 41 |
range=["#dc2626", "#16a34a", "#f59e0b", "#94a3b8"],
|
| 42 |
)
|
| 43 |
|
| 44 |
-
|
| 45 |
|
| 46 |
# ### About the researcher dataset
|
| 47 |
#
|
|
@@ -438,6 +443,10 @@ dashboard = (
|
|
| 438 |
)
|
| 439 |
import warnings
|
| 440 |
warnings.filterwarnings("ignore")
|
|
|
|
|
|
|
|
|
|
|
|
|
| 441 |
st.altair_chart(
|
| 442 |
dashboard,
|
| 443 |
use_container_width=True
|
|
|
|
| 12 |
import warnings
|
| 13 |
warnings.filterwarnings("ignore")
|
| 14 |
import streamlit as st
|
| 15 |
+
st.set_page_config(
|
| 16 |
+
page_title="Mesozoic Dinosaur Occurrences",
|
| 17 |
+
page_icon="🦕",
|
| 18 |
+
layout="wide",
|
| 19 |
+
)
|
| 20 |
import pandas as pd
|
| 21 |
import altair as alt
|
| 22 |
from vega_datasets import data as vega_data
|
|
|
|
| 46 |
range=["#dc2626", "#16a34a", "#f59e0b", "#94a3b8"],
|
| 47 |
)
|
| 48 |
|
| 49 |
+
|
| 50 |
|
| 51 |
# ### About the researcher dataset
|
| 52 |
#
|
|
|
|
| 443 |
)
|
| 444 |
import warnings
|
| 445 |
warnings.filterwarnings("ignore")
|
| 446 |
+
st.title("Mesozoic Dinosaur Occurrences")
|
| 447 |
+
st.markdown(
|
| 448 |
+
"Interactive exploration of dinosaur fossil occurrences, diet, geography, and researcher origins."
|
| 449 |
+
)
|
| 450 |
st.altair_chart(
|
| 451 |
dashboard,
|
| 452 |
use_container_width=True
|