Spaces:
Sleeping
Sleeping
Commit
·
0fa040d
1
Parent(s):
7ef5095
Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,12 @@
|
|
1 |
from github import Github
|
2 |
import os
|
3 |
import streamlit as st
|
|
|
|
|
|
|
4 |
st.set_page_config(layout="wide")
|
5 |
|
6 |
-
|
7 |
|
8 |
g = Github(os.environ.get('github'))
|
9 |
|
@@ -44,5 +47,7 @@ fig.update_xaxes(ticks= "outside",
|
|
44 |
gridcolor='white')
|
45 |
)
|
46 |
|
|
|
|
|
47 |
st.plotly_chart(fig, use_container_width=True)
|
48 |
|
|
|
1 |
from github import Github
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
+
from datetime import datetime
|
5 |
+
import plotly.figure_factory as ff
|
6 |
+
|
7 |
st.set_page_config(layout="wide")
|
8 |
|
9 |
+
|
10 |
|
11 |
g = Github(os.environ.get('github'))
|
12 |
|
|
|
47 |
gridcolor='white')
|
48 |
)
|
49 |
|
50 |
+
fig.add_vline(x=datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="green")
|
51 |
+
|
52 |
st.plotly_chart(fig, use_container_width=True)
|
53 |
|