Spaces:
Build error
Build error
James McCool
commited on
Commit
·
28e0a1d
1
Parent(s):
1d006a5
Fix game rotation timeline x-axis data conversion to list
Browse files
app.py
CHANGED
|
@@ -703,7 +703,7 @@ with tab5:
|
|
| 703 |
fig = px.timeline(data_frame=check_rotation, x_start='Start', x_end='Finish', y='Resource', range_x=[0,check_rotation["Finish"].max()], text='Task')
|
| 704 |
|
| 705 |
fig.layout.xaxis.type = 'linear'
|
| 706 |
-
fig.data[0].x = check_rotation
|
| 707 |
# fig.update_yaxes(autorange="reversed")
|
| 708 |
|
| 709 |
# Create a color map for each unique player
|
|
|
|
| 703 |
fig = px.timeline(data_frame=check_rotation, x_start='Start', x_end='Finish', y='Resource', range_x=[0,check_rotation["Finish"].max()], text='Task')
|
| 704 |
|
| 705 |
fig.layout.xaxis.type = 'linear'
|
| 706 |
+
fig.data[0].x = check_rotation.delta.tolist()
|
| 707 |
# fig.update_yaxes(autorange="reversed")
|
| 708 |
|
| 709 |
# Create a color map for each unique player
|