Spaces:
Sleeping
Sleeping
Commit
·
d190bf1
1
Parent(s):
642c4d7
Update app.py
Browse files
app.py
CHANGED
|
@@ -95,12 +95,13 @@ fig.add_annotation({
|
|
| 95 |
fig.add_hline(y=-0.5, line_width=1, line_color="grey")
|
| 96 |
height = -0.5
|
| 97 |
for name, _ in name2repo[::-1]:
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
|
|
|
| 105 |
|
| 106 |
st.plotly_chart(fig, use_container_width=True)
|
|
|
|
| 95 |
fig.add_hline(y=-0.5, line_width=1, line_color="grey")
|
| 96 |
height = -0.5
|
| 97 |
for name, _ in name2repo[::-1]:
|
| 98 |
+
if name2num_milestones[name] > 0:
|
| 99 |
+
fig.add_annotation(x='2023-03-31', y=height + name2num_milestones[name]/2,
|
| 100 |
+
text=name,
|
| 101 |
+
showarrow=False,
|
| 102 |
+
align="center",
|
| 103 |
+
textangle=-90)
|
| 104 |
+
height += name2num_milestones[name]
|
| 105 |
+
fig.add_hline(y=height, line_width=1, line_color="grey")
|
| 106 |
|
| 107 |
st.plotly_chart(fig, use_container_width=True)
|