Jiajun Li commited on
Commit
753ff62
·
1 Parent(s): 64d50ce

uploading changes to template

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -10,9 +10,9 @@ import streamlit as st
10
  import altair as alt
11
  from vega_datasets import data
12
 
13
- st.title('My First Streamlit App')
14
 
15
- st.text("The URL for this app is: https://huggingface.co/spaces/jnaiman/is445_demo")
16
 
17
  source = data.seattle_weather()
18
 
@@ -33,7 +33,7 @@ points = (
33
  alt.Chart()
34
  .mark_point()
35
  .encode(
36
- alt.X("monthdate(date):T", title="Date"),
37
  alt.Y(
38
  "temp_max:Q",
39
  title="Maximum Daily Temperature (C)",
@@ -63,7 +63,7 @@ bars = (
63
  .add_params(click)
64
  )
65
 
66
- chart = alt.vconcat(points, bars, data=source, title="Seattle Weather: 2012-2015")
67
 
68
  tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
69
 
 
10
  import altair as alt
11
  from vega_datasets import data
12
 
13
+ st.title("Streamlit App for IS445: ID18642")
14
 
15
+ st.text("The URL for this app is: https://huggingface.co/spaces/Llogan7/is445_demo")
16
 
17
  source = data.seattle_weather()
18
 
 
33
  alt.Chart()
34
  .mark_point()
35
  .encode(
36
+ alt.X("monthdate(date):T", title="Date (Month Year)"),
37
  alt.Y(
38
  "temp_max:Q",
39
  title="Maximum Daily Temperature (C)",
 
63
  .add_params(click)
64
  )
65
 
66
+ chart = alt.vconcat(points, bars, data=source, title="Seattle Weather - 2020 to 2027")
67
 
68
  tab1, tab2 = st.tabs(["Streamlit theme (default)", "Altair native theme"])
69