Spaces:
Sleeping
Sleeping
Commit
·
a7c1693
1
Parent(s):
33a186a
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ from github import Github
|
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
| 4 |
import datetime
|
| 5 |
-
import plotly
|
| 6 |
import pandas as pd
|
| 7 |
import math
|
| 8 |
import copy
|
|
@@ -46,7 +46,7 @@ for name, repo_name in name2repo:
|
|
| 46 |
Finish='2023-04-02',
|
| 47 |
Resource=key))
|
| 48 |
|
| 49 |
-
fig =
|
| 50 |
index_col='Resource',
|
| 51 |
show_colorbar=True,
|
| 52 |
show_hover_fill=True,
|
|
|
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
| 4 |
import datetime
|
| 5 |
+
import plotly
|
| 6 |
import pandas as pd
|
| 7 |
import math
|
| 8 |
import copy
|
|
|
|
| 46 |
Finish='2023-04-02',
|
| 47 |
Resource=key))
|
| 48 |
|
| 49 |
+
fig = plotly.figure_factory.create_gantt(df, colors=colors,
|
| 50 |
index_col='Resource',
|
| 51 |
show_colorbar=True,
|
| 52 |
show_hover_fill=True,
|