Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -514,6 +514,7 @@ def track_plot(df, include_actual=True, pred_col="GR_Pred", actual_col="GR"):
|
|
| 514 |
# The key change: reverse y-axis universally
|
| 515 |
fig.update_yaxes(
|
| 516 |
title_text=ylab,
|
|
|
|
| 517 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 518 |
tickfont=dict(size=15, family=BOLD_FONT, color="#000"),
|
| 519 |
autorange="reversed", # <-- ensures top=shallow, bottom=deep
|
|
|
|
| 514 |
# The key change: reverse y-axis universally
|
| 515 |
fig.update_yaxes(
|
| 516 |
title_text=ylab,
|
| 517 |
+
autorange="reversed",
|
| 518 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 519 |
tickfont=dict(size=15, family=BOLD_FONT, color="#000"),
|
| 520 |
autorange="reversed", # <-- ensures top=shallow, bottom=deep
|