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

Simplify game rotation timeline plot data source

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -702,7 +702,7 @@ with tab5:
702
  text_vals = pd.Series(check_rotation['minutes'].tolist())
703
  y_vals = pd.Series(check_rotation['Task'].tolist())
704
 
705
- fig = px.timeline(x_start=x_start_vals, x_end=x_end_vals, y=y_vals, range_x=[0,check_rotation["Finish"].max()], text=text_vals)
706
 
707
  fig.layout.xaxis.type = 'linear'
708
  fig.update_yaxes(autorange="reversed")
 
702
  text_vals = pd.Series(check_rotation['minutes'].tolist())
703
  y_vals = pd.Series(check_rotation['Task'].tolist())
704
 
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")