Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
1fac984
1
Parent(s):
209a48f
Remove categorical x-axis type in game rotation timeline plot
Browse files
app.py
CHANGED
@@ -702,9 +702,8 @@ with tab5:
|
|
702 |
|
703 |
fig.layout.xaxis.type = 'linear'
|
704 |
fig.data[0].x = check_rotation.delta.tolist()
|
705 |
-
|
706 |
-
fig.update_yaxes(autorange="reversed")
|
707 |
-
fig.update_layout(xaxis=dict(type='category'))
|
708 |
|
709 |
# Create a color map for each unique player
|
710 |
player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]
|
|
|
702 |
|
703 |
fig.layout.xaxis.type = 'linear'
|
704 |
fig.data[0].x = check_rotation.delta.tolist()
|
705 |
+
|
706 |
+
fig.update_yaxes(autorange="reversed")
|
|
|
707 |
|
708 |
# Create a color map for each unique player
|
709 |
player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]
|