Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
0982427
1
Parent(s):
2346710
Adjust game rotation timeline plot with x-axis range and y-axis reversal
Browse files
app.py
CHANGED
@@ -699,8 +699,8 @@ with tab5:
|
|
699 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
700 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
701 |
|
702 |
-
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Resource")
|
703 |
-
|
704 |
|
705 |
# fig.layout.xaxis.type = 'linear'
|
706 |
# fig.data[0].x = check_rotation.delta.tolist()
|
|
|
699 |
game_rot_stats = check_rotation.reindex(game_rot_cols,axis="columns")
|
700 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
701 |
|
702 |
+
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Resource", range_x=[0,check_rotation["Finish"].max()])
|
703 |
+
fig.update_yaxes(autorange="reversed")
|
704 |
|
705 |
# fig.layout.xaxis.type = 'linear'
|
706 |
# fig.data[0].x = check_rotation.delta.tolist()
|