Spaces:
Build error
Build error
James McCool
commited on
Commit
·
65ddb51
1
Parent(s):
523a249
Comment out x-axis configuration in game rotation timeline plot
Browse files
app.py
CHANGED
|
@@ -701,8 +701,8 @@ with tab5:
|
|
| 701 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
| 702 |
fig.update_yaxes(autorange="reversed")
|
| 703 |
|
| 704 |
-
fig.layout.xaxis.type = 'linear'
|
| 705 |
-
fig.data[0].x = check_rotation.delta.tolist()
|
| 706 |
# Create a color map for each unique player
|
| 707 |
player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]
|
| 708 |
color_map = dict(zip(check_rotation['PLAYER_NAME'].unique(), player_colors))
|
|
|
|
| 701 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
|
| 702 |
fig.update_yaxes(autorange="reversed")
|
| 703 |
|
| 704 |
+
# fig.layout.xaxis.type = 'linear'
|
| 705 |
+
# fig.data[0].x = check_rotation.delta.tolist()
|
| 706 |
# Create a color map for each unique player
|
| 707 |
player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]
|
| 708 |
color_map = dict(zip(check_rotation['PLAYER_NAME'].unique(), player_colors))
|