UCS2014 commited on
Commit
a8a72a7
·
verified ·
1 Parent(s): 7de4bf4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -5
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
- tickformat=".2f"
520
- side="top", range=[xmin, xmax],
521
- ticks="outside", tickformat=",.3f", tickmode="auto", tick0=tick0,
522
- showline=True, linewidth=1.2, linecolor="#444", mirror=True,
523
- showgrid=True, gridcolor="rgba(0,0,0,0.12)", automargin=True
 
 
 
 
 
 
 
 
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"),