James McCool commited on
Commit
393ecd8
·
1 Parent(s): 73d8f0e

Disable y-axis auto-reversal in game rotation timeline plot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -705,7 +705,7 @@ with tab5:
705
  fig = px.timeline(x_start=check_rotation['Start'], x_end=check_rotation['Finish'], y=check_rotation['Task'], range_x=[0,check_rotation["Finish"].max()], text=check_rotation['minutes'])
706
 
707
  fig.layout.xaxis.type = 'linear'
708
- fig.update_yaxes(autorange="reversed")
709
 
710
  # Create a color map for each unique player
711
  player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]
 
705
  fig = px.timeline(x_start=check_rotation['Start'], x_end=check_rotation['Finish'], y=check_rotation['Task'], range_x=[0,check_rotation["Finish"].max()], text=check_rotation['minutes'])
706
 
707
  fig.layout.xaxis.type = 'linear'
708
+ # fig.update_yaxes(autorange="reversed")
709
 
710
  # Create a color map for each unique player
711
  player_colors = px.colors.qualitative.Plotly[:len(check_rotation['PLAYER_NAME'].unique())]