gauravlochab commited on
Commit
50f5a4c
·
1 Parent(s): d7146b8

feat: update graph text labels to use brackets for consistency

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -841,7 +841,7 @@ def create_combined_time_series_graph(df):
841
  y=-25, # Middle of the negative region
842
  xref="paper",
843
  yref="y",
844
- text="Percent drawdown (%)",
845
  showarrow=False,
846
  font=dict(size=16, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
847
  textangle=-90, # Rotate text to be vertical
@@ -853,7 +853,7 @@ def create_combined_time_series_graph(df):
853
  y=50, # Middle of the positive region
854
  xref="paper",
855
  yref="y",
856
- text="Agent APR (%)",
857
  showarrow=False,
858
  font=dict(size=16, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
859
  textangle=-90, # Rotate text to be vertical
@@ -1086,7 +1086,7 @@ def create_combined_time_series_graph(df):
1086
  y=-25, # Middle of the negative region
1087
  xref="paper",
1088
  yref="y",
1089
- text="Percent drawdown (%)",
1090
  showarrow=False,
1091
  font=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
1092
  textangle=-90, # Rotate text to be vertical
@@ -1098,7 +1098,7 @@ def create_combined_time_series_graph(df):
1098
  y=50, # Middle of the positive region
1099
  xref="paper",
1100
  yref="y",
1101
- text="Agent APR (%)",
1102
  showarrow=False,
1103
  font=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
1104
  textangle=-90, # Rotate text to be vertical
 
841
  y=-25, # Middle of the negative region
842
  xref="paper",
843
  yref="y",
844
+ text="Percent drawdown [%]",
845
  showarrow=False,
846
  font=dict(size=16, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
847
  textangle=-90, # Rotate text to be vertical
 
853
  y=50, # Middle of the positive region
854
  xref="paper",
855
  yref="y",
856
+ text="Agent APR [%]",
857
  showarrow=False,
858
  font=dict(size=16, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
859
  textangle=-90, # Rotate text to be vertical
 
1086
  y=-25, # Middle of the negative region
1087
  xref="paper",
1088
  yref="y",
1089
+ text="Percent drawdown [%]",
1090
  showarrow=False,
1091
  font=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
1092
  textangle=-90, # Rotate text to be vertical
 
1098
  y=50, # Middle of the positive region
1099
  xref="paper",
1100
  yref="y",
1101
+ text="Agent APR [%]",
1102
  showarrow=False,
1103
  font=dict(size=14, family="Arial, sans-serif", color="black", weight="bold"), # Adjusted font size
1104
  textangle=-90, # Rotate text to be vertical