Spaces:
Sleeping
Sleeping
Commit
•
5e35297
1
Parent(s):
e80581c
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
from github import Github
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
-
|
5 |
import plotly.figure_factory as ff
|
6 |
|
7 |
st.set_page_config(layout="wide")
|
@@ -51,7 +51,7 @@ fig.update_xaxes(ticks= "outside",
|
|
51 |
fig.update_layout(xaxis_range=[datetime.datetime(2023, 1, 1),
|
52 |
datetime.datetime(2023, 3, 31)])
|
53 |
fig.layout.xaxis.rangeselector = None
|
54 |
-
fig.add_vline(x=datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="green")
|
55 |
|
56 |
st.plotly_chart(fig, use_container_width=True)
|
57 |
|
|
|
1 |
from github import Github
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
+
import datetime
|
5 |
import plotly.figure_factory as ff
|
6 |
|
7 |
st.set_page_config(layout="wide")
|
|
|
51 |
fig.update_layout(xaxis_range=[datetime.datetime(2023, 1, 1),
|
52 |
datetime.datetime(2023, 3, 31)])
|
53 |
fig.layout.xaxis.rangeselector = None
|
54 |
+
fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="green")
|
55 |
|
56 |
st.plotly_chart(fig, use_container_width=True)
|
57 |
|