Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ MODEL_FALLBACKS = [MODELS_DIR / "model.joblib", MODELS_DIR / "model.pkl"]
|
|
| 25 |
COLORS = {"pred": "#1f77b4", "actual": "#f2b702", "ref": "#5a5a5a"}
|
| 26 |
|
| 27 |
# ---- Plot sizing controls ----
|
| 28 |
-
CROSS_W = 250
|
| 29 |
CROSS_H = 250
|
| 30 |
TRACK_H = 1000 # px (plotly height; width auto-fits column)
|
| 31 |
# NEW: Add a TRACK_W variable to control the width
|
|
|
|
| 25 |
COLORS = {"pred": "#1f77b4", "actual": "#f2b702", "ref": "#5a5a5a"}
|
| 26 |
|
| 27 |
# ---- Plot sizing controls ----
|
| 28 |
+
CROSS_W = 250 # px (matplotlib figure size; Streamlit will still scale)
|
| 29 |
CROSS_H = 250
|
| 30 |
TRACK_H = 1000 # px (plotly height; width auto-fits column)
|
| 31 |
# NEW: Add a TRACK_W variable to control the width
|