Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -512,16 +512,26 @@ def track_plot(df, include_actual=True):
|
|
| 512 |
bgcolor="rgba(255,255,255,0.75)", bordercolor="#ccc", borderwidth=1),
|
| 513 |
legend_title_text=""
|
| 514 |
)
|
|
|
|
| 515 |
fig.update_xaxes(
|
| 516 |
title_text="RHOB (g/cc)",
|
| 517 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 518 |
tickfont=dict(size=15, family=BOLD_FONT, color="#000"),
|
| 519 |
-
|
| 520 |
-
|
| 521 |
-
ticks="outside",
|
| 522 |
-
|
| 523 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 524 |
)
|
|
|
|
| 525 |
fig.update_yaxes(
|
| 526 |
title_text=ylab,
|
| 527 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
|
|
|
| 512 |
bgcolor="rgba(255,255,255,0.75)", bordercolor="#ccc", borderwidth=1),
|
| 513 |
legend_title_text=""
|
| 514 |
)
|
| 515 |
+
|
| 516 |
fig.update_xaxes(
|
| 517 |
title_text="RHOB (g/cc)",
|
| 518 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|
| 519 |
tickfont=dict(size=15, family=BOLD_FONT, color="#000"),
|
| 520 |
+
side="top",
|
| 521 |
+
range=[xmin, xmax],
|
| 522 |
+
ticks="outside",
|
| 523 |
+
tickformat=".2f",
|
| 524 |
+
tickmode="auto",
|
| 525 |
+
tick0=tick0,
|
| 526 |
+
showline=True,
|
| 527 |
+
linewidth=1.2,
|
| 528 |
+
linecolor="#444",
|
| 529 |
+
mirror=True,
|
| 530 |
+
showgrid=True,
|
| 531 |
+
gridcolor="rgba(0,0,0,0.12)",
|
| 532 |
+
automargin=True,
|
| 533 |
)
|
| 534 |
+
|
| 535 |
fig.update_yaxes(
|
| 536 |
title_text=ylab,
|
| 537 |
title_font=dict(size=20, family=BOLD_FONT, color="#000"),
|