Spaces:
Runtime error
Runtime error
James McCool
commited on
Commit
·
52f0b73
1
Parent(s):
19c9b40
Restore y-axis auto-reversal in game rotation timeline plot
Browse files
app.py
CHANGED
@@ -697,7 +697,7 @@ with tab5:
|
|
697 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
698 |
|
699 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Resource", range_x=[0,check_rotation["Finish"].max()], text='delta')
|
700 |
-
|
701 |
|
702 |
# fig.layout.xaxis.type = 'linear'
|
703 |
# fig.data[0].x = check_rotation.delta.tolist()
|
|
|
697 |
game_rot_stats = game_rot_stats.drop_duplicates(subset='backlog_lookup')
|
698 |
|
699 |
fig = px.timeline(check_rotation, x_start="Start", x_end="Finish", y="Resource", range_x=[0,check_rotation["Finish"].max()], text='delta')
|
700 |
+
fig.update_yaxes(autorange="reversed")
|
701 |
|
702 |
# fig.layout.xaxis.type = 'linear'
|
703 |
# fig.data[0].x = check_rotation.delta.tolist()
|