Spaces:
Sleeping
Sleeping
Commit
·
de5daf9
1
Parent(s):
f6c535b
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ x_dates = periods[center_pos]
|
|
57 |
|
58 |
fig.add_annotation({
|
59 |
"x": x_dates,
|
60 |
-
"y":
|
61 |
"text": string1,
|
62 |
"align": "center",
|
63 |
"showarrow":False,
|
@@ -70,5 +70,5 @@ fig.layout.xaxis.rangeselector = None
|
|
70 |
st.write(fig.layout.yaxis)
|
71 |
fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="green")
|
72 |
|
73 |
-
|
74 |
|
|
|
57 |
|
58 |
fig.add_annotation({
|
59 |
"x": x_dates,
|
60 |
+
"y": 0,
|
61 |
"text": string1,
|
62 |
"align": "center",
|
63 |
"showarrow":False,
|
|
|
70 |
st.write(fig.layout.yaxis)
|
71 |
fig.add_vline(x=datetime.datetime.now().strftime('%Y-%m-%d'), line_width=3, line_dash="dash", line_color="green")
|
72 |
|
73 |
+
st.plotly_chart(fig, use_container_width=True)
|
74 |
|