QuantumLearner commited on
Commit
fc90dcc
·
verified ·
1 Parent(s): 1e11844

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -709,8 +709,8 @@ if run_analysis:
709
  bgcolor="rgba(0,0,0,1)"
710
  ),
711
  template="plotly_dark",
712
- paper_bgcolor="rgba(0,0,0,1)",
713
- plot_bgcolor="rgba(0,0,0,1)",
714
  title_font_color="white",
715
  font=dict(color="white"),
716
  margin=dict(l=0, r=0, t=60, b=0)
@@ -937,8 +937,8 @@ if run_analysis:
937
  xaxis_title='Trade Date',
938
  yaxis_title='Slope (pts / day)',
939
  template="plotly_dark",
940
- paper_bgcolor="rgba(0,0,0,1)",
941
- plot_bgcolor="rgba(0,0,0,1)",
942
  title_font_color="white",
943
  font=dict(color="white"),
944
  legend=dict(
@@ -1190,8 +1190,8 @@ if run_analysis:
1190
  xaxis_title='Trade Date',
1191
  yaxis_title='Spread (points)',
1192
  template="plotly_dark",
1193
- paper_bgcolor="rgba(0,0,0,1)",
1194
- plot_bgcolor="rgba(0,0,0,1)",
1195
  title_font_color="white",
1196
  font=dict(color="white"),
1197
  legend=dict(
@@ -1326,8 +1326,8 @@ if run_analysis:
1326
  fig_scores.update_layout(
1327
  xaxis_title='Trade Date',
1328
  yaxis_title='Score (z-scaled)',
1329
- paper_bgcolor='rgba(0,0,0,1)',
1330
- plot_bgcolor='rgba(0,0,0,1)',
1331
  title_font_color='white',
1332
  font=dict(color='white'),
1333
  legend=dict(
 
709
  bgcolor="rgba(0,0,0,1)"
710
  ),
711
  template="plotly_dark",
712
+ paper_bgcolor=BG, #"rgba(0,0,0,1)",
713
+ plot_bgcolor=BG,#"rgba(0,0,0,1)",
714
  title_font_color="white",
715
  font=dict(color="white"),
716
  margin=dict(l=0, r=0, t=60, b=0)
 
937
  xaxis_title='Trade Date',
938
  yaxis_title='Slope (pts / day)',
939
  template="plotly_dark",
940
+ paper_bgcolor=BG, #"rgba(0,0,0,1)",
941
+ plot_bgcolor=BG,# "rgba(0,0,0,1)",
942
  title_font_color="white",
943
  font=dict(color="white"),
944
  legend=dict(
 
1190
  xaxis_title='Trade Date',
1191
  yaxis_title='Spread (points)',
1192
  template="plotly_dark",
1193
+ paper_bgcolor=BG, #"rgba(0,0,0,1)",
1194
+ plot_bgcolor=BG,#"rgba(0,0,0,1)",
1195
  title_font_color="white",
1196
  font=dict(color="white"),
1197
  legend=dict(
 
1326
  fig_scores.update_layout(
1327
  xaxis_title='Trade Date',
1328
  yaxis_title='Score (z-scaled)',
1329
+ paper_bgcolor=BG,#'rgba(0,0,0,1)',
1330
+ plot_bgcolor=BG,#'rgba(0,0,0,1)',
1331
  title_font_color='white',
1332
  font=dict(color='white'),
1333
  legend=dict(