Spaces:
Sleeping
Sleeping
Commit
•
54cd6c8
1
Parent(s):
5024824
Update app.py
Browse files
app.py
CHANGED
@@ -89,7 +89,6 @@ fig.add_annotation({
|
|
89 |
"y": fig.layout.yaxis['range'][1],
|
90 |
"yshift": 10,
|
91 |
"text": "Today",
|
92 |
-
"xanchor": "left",
|
93 |
"showarrow": False,
|
94 |
})
|
95 |
|
@@ -98,7 +97,8 @@ for i, entry in enumerate(df[::-1]):
|
|
98 |
fig.add_annotation(x='2023-01-01', y=i,
|
99 |
text=entry['Description'],
|
100 |
showarrow=False,
|
101 |
-
|
|
|
102 |
|
103 |
fig.add_hline(y=-0.5, line_width=1, line_color="grey")
|
104 |
height = -0.5
|
|
|
89 |
"y": fig.layout.yaxis['range'][1],
|
90 |
"yshift": 10,
|
91 |
"text": "Today",
|
|
|
92 |
"showarrow": False,
|
93 |
})
|
94 |
|
|
|
97 |
fig.add_annotation(x='2023-01-01', y=i,
|
98 |
text=entry['Description'],
|
99 |
showarrow=False,
|
100 |
+
xanchor="left",
|
101 |
+
xref="x")
|
102 |
|
103 |
fig.add_hline(y=-0.5, line_width=1, line_color="grey")
|
104 |
height = -0.5
|