Spaces:
Build error
Build error
James McCool
commited on
Commit
·
73d8f0e
1
Parent(s):
dcbdd07
Simplify game rotation timeline plot data source
Browse files
app.py
CHANGED
|
@@ -702,7 +702,7 @@ with tab5:
|
|
| 702 |
text_vals = pd.Series(check_rotation['minutes'].tolist())
|
| 703 |
y_vals = pd.Series(check_rotation['Task'].tolist())
|
| 704 |
|
| 705 |
-
fig = px.timeline(x_start=
|
| 706 |
|
| 707 |
fig.layout.xaxis.type = 'linear'
|
| 708 |
fig.update_yaxes(autorange="reversed")
|
|
|
|
| 702 |
text_vals = pd.Series(check_rotation['minutes'].tolist())
|
| 703 |
y_vals = pd.Series(check_rotation['Task'].tolist())
|
| 704 |
|
| 705 |
+
fig = px.timeline(x_start=check_rotation['Start'], x_end=check_rotation['Finish'], y=check_rotation['Task'], range_x=[0,check_rotation["Finish"].max()], text=check_rotation['minutes'])
|
| 706 |
|
| 707 |
fig.layout.xaxis.type = 'linear'
|
| 708 |
fig.update_yaxes(autorange="reversed")
|