UCS2014 commited on
Commit
51e5ec8
·
verified ·
1 Parent(s): bb7ce7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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