James McCool commited on
Commit
e7028ff
·
1 Parent(s): 4fa7a87

Re-enable y-axis auto-reversal in game rotation timeline plot

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -698,7 +698,7 @@ with tab5:
698
  game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
699
 
700
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
701
- # fig.update_yaxes(autorange="reversed")
702
 
703
  fig.layout.xaxis.type = 'linear'
704
  fig.data[0].x = check_rotation.Task.tolist()
 
698
  game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
699
 
700
  fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Task", range_x=[0,check_rotation["Finish"].max()], text='minutes')
701
+ fig.update_yaxes(autorange="reversed")
702
 
703
  fig.layout.xaxis.type = 'linear'
704
  fig.data[0].x = check_rotation.Task.tolist()