Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,12 +26,12 @@ MODEL_FALLBACKS = [MODELS_DIR / "model.joblib", MODELS_DIR / "model.pkl"]
|
|
| 26 |
COLORS = {"pred": "#1f77b4", "actual": "#f2b702", "ref": "#5a5a5a"}
|
| 27 |
|
| 28 |
# ---- Plot sizing controls ----
|
| 29 |
-
CROSS_W =
|
| 30 |
-
CROSS_H =
|
| 31 |
TRACK_W = 380 # Plotly track width in px (kept modest to avoid overlap)
|
| 32 |
TRACK_H = 820
|
| 33 |
FONT_SZ = 15
|
| 34 |
-
PLOT_COLS = [
|
| 35 |
CROSS_NUDGE = 0.0 # set >0 to shove cross-plot inward with a small left pad column
|
| 36 |
|
| 37 |
# =========================
|
|
|
|
| 26 |
COLORS = {"pred": "#1f77b4", "actual": "#f2b702", "ref": "#5a5a5a"}
|
| 27 |
|
| 28 |
# ---- Plot sizing controls ----
|
| 29 |
+
CROSS_W = 300 # Matplotlib cross-plot width (in px) — None -> fallback used in fn
|
| 30 |
+
CROSS_H = 300
|
| 31 |
TRACK_W = 380 # Plotly track width in px (kept modest to avoid overlap)
|
| 32 |
TRACK_H = 820
|
| 33 |
FONT_SZ = 15
|
| 34 |
+
PLOT_COLS = [1.5, 0.1, 1] # left • spacer • right
|
| 35 |
CROSS_NUDGE = 0.0 # set >0 to shove cross-plot inward with a small left pad column
|
| 36 |
|
| 37 |
# =========================
|