Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
ea73cf1
1
Parent(s):
a60bbb8
Add minutes column to game rotation timeline plot text parameter
Browse files
app.py
CHANGED
@@ -699,6 +699,7 @@ with tab5:
|
|
699 |
|
700 |
x_start_vals = check_rotation['Start'].tolist()
|
701 |
x_end_vals = check_rotation['Finish'].tolist()
|
|
|
702 |
y_vals = check_rotation['Task'].tolist()
|
703 |
|
704 |
fig = px.timeline(x_start=x_start_vals, x_end=x_end_vals, y=y_vals, range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
|
|
699 |
|
700 |
x_start_vals = check_rotation['Start'].tolist()
|
701 |
x_end_vals = check_rotation['Finish'].tolist()
|
702 |
+
text_vals = check_rotation['minutes'].tolist()
|
703 |
y_vals = check_rotation['Task'].tolist()
|
704 |
|
705 |
fig = px.timeline(x_start=x_start_vals, x_end=x_end_vals, y=y_vals, range_x=[0,check_rotation["Finish"].max()], text='minutes')
|