Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,7 +21,7 @@ from sklearn.metrics import mean_squared_error, mean_absolute_error
|
|
| 21 |
# Constants / Defaults
|
| 22 |
# =========================
|
| 23 |
APP_NAME = "ST_GeoMech_UCS"
|
| 24 |
-
TAGLINE = "Real-Time
|
| 25 |
|
| 26 |
# Default features standardized to match Ts/Tc apps.
|
| 27 |
# (Older headers are still accepted via alias map below.)
|
|
@@ -47,7 +47,7 @@ STRICT_VERSION_CHECK = False # optional env banner
|
|
| 47 |
CROSS_W = 350
|
| 48 |
CROSS_H = 350
|
| 49 |
TRACK_H = 1000
|
| 50 |
-
TRACK_W =
|
| 51 |
FONT_SZ = 13
|
| 52 |
BOLD_FONT = "Arial Black, Arial, sans-serif"
|
| 53 |
|
|
@@ -485,7 +485,7 @@ def track_plot(df, include_actual=True):
|
|
| 485 |
fig.update_xaxes(
|
| 486 |
title_text="UCS (psi)",
|
| 487 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 488 |
-
tickfont=dict(size=
|
| 489 |
side="top", range=[xmin, xmax],
|
| 490 |
ticks="outside", tickformat=",.0f", tickmode="auto", tick0=tick0,
|
| 491 |
showline=True, linewidth=1.2, linecolor="#444", mirror=True,
|
|
|
|
| 21 |
# Constants / Defaults
|
| 22 |
# =========================
|
| 23 |
APP_NAME = "ST_GeoMech_UCS"
|
| 24 |
+
TAGLINE = "Real-Time Unconfined Compressive Strength Tracking While Drilling"
|
| 25 |
|
| 26 |
# Default features standardized to match Ts/Tc apps.
|
| 27 |
# (Older headers are still accepted via alias map below.)
|
|
|
|
| 47 |
CROSS_W = 350
|
| 48 |
CROSS_H = 350
|
| 49 |
TRACK_H = 1000
|
| 50 |
+
TRACK_W = 600
|
| 51 |
FONT_SZ = 13
|
| 52 |
BOLD_FONT = "Arial Black, Arial, sans-serif"
|
| 53 |
|
|
|
|
| 485 |
fig.update_xaxes(
|
| 486 |
title_text="UCS (psi)",
|
| 487 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 488 |
+
tickfont=dict(size=12, family=BOLD_FONT, color="#000"),
|
| 489 |
side="top", range=[xmin, xmax],
|
| 490 |
ticks="outside", tickformat=",.0f", tickmode="auto", tick0=tick0,
|
| 491 |
showline=True, linewidth=1.2, linecolor="#444", mirror=True,
|