cyberosa commited on
Commit
9b493b1
·
1 Parent(s): 2dc3f1e

updating layout of agents graph

Browse files
Files changed (1) hide show
  1. tabs/agent_graphs.py +2 -1
tabs/agent_graphs.py CHANGED
@@ -30,10 +30,11 @@ def plot_rolling_average_roi(two_weeks_avg_roi_pearl_agents: pd.DataFrame) -> gr
30
  print("Rolling average ROI DataFrame:")
31
  print(two_weeks_avg_roi_pearl_agents.head())
32
 
33
- fig2 = px.bar(
34
  two_weeks_avg_roi_pearl_agents,
35
  x="creation_date",
36
  y="two_weeks_avg_roi",
 
37
  )
38
  fig2.update_layout(
39
  xaxis_title="Week",
 
30
  print("Rolling average ROI DataFrame:")
31
  print(two_weeks_avg_roi_pearl_agents.head())
32
 
33
+ fig2 = px.line(
34
  two_weeks_avg_roi_pearl_agents,
35
  x="creation_date",
36
  y="two_weeks_avg_roi",
37
+ line_color="#9C27B0",
38
  )
39
  fig2.update_layout(
40
  xaxis_title="Week",