Spaces:
Build error
Build error
James McCool
commited on
Commit
·
991d254
1
Parent(s):
4280e79
Adjust timeline plot data point assignment for game rotation visualization
Browse files
app.py
CHANGED
|
@@ -705,9 +705,7 @@ with tab5:
|
|
| 705 |
fig = px.timeline(data_frame=check_rotation, x_start='Start', x_end='Finish', y='Task', range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
| 706 |
|
| 707 |
fig.layout.xaxis.type = 'linear'
|
| 708 |
-
fig.data[0].
|
| 709 |
-
fig.data[0].xend = x_end_vals
|
| 710 |
-
fig.data[0].text = text_vals
|
| 711 |
fig.data[0].y = y_vals
|
| 712 |
# fig.update_yaxes(autorange="reversed")
|
| 713 |
|
|
|
|
| 705 |
fig = px.timeline(data_frame=check_rotation, x_start='Start', x_end='Finish', y='Task', range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
| 706 |
|
| 707 |
fig.layout.xaxis.type = 'linear'
|
| 708 |
+
fig.data[0].x = x_start_vals
|
|
|
|
|
|
|
| 709 |
fig.data[0].y = y_vals
|
| 710 |
# fig.update_yaxes(autorange="reversed")
|
| 711 |
|