Zekun Wu commited on
Commit
3f8a515
1 Parent(s): 3922c93
Files changed (1) hide show
  1. util/plot.py +3 -3
util/plot.py CHANGED
@@ -40,19 +40,19 @@ def create_rank_plots(df):
40
  # Add traces for ranks
41
  fig.add_trace(go.Scatter(
42
  x=df.index, y=df['Privilege_Rank'],
43
- mode='lines+markers', name='Rank Privilege',
44
  text=df['Role'], hoverinfo='text+y'
45
  ))
46
 
47
  fig.add_trace(go.Scatter(
48
  x=df.index, y=df['Protect_Rank'],
49
- mode='lines+markers', name='Rank Protection',
50
  text=df['Role'], hoverinfo='text+y'
51
  ))
52
 
53
  fig.add_trace(go.Scatter(
54
  x=df.index, y=df['Neutral_Rank'],
55
- mode='lines+markers', name='Rank Neutral',
56
  text=df['Role'], hoverinfo='text+y'
57
  ))
58
 
 
40
  # Add traces for ranks
41
  fig.add_trace(go.Scatter(
42
  x=df.index, y=df['Privilege_Rank'],
43
+ mode='lines+markers', name='Privilege',
44
  text=df['Role'], hoverinfo='text+y'
45
  ))
46
 
47
  fig.add_trace(go.Scatter(
48
  x=df.index, y=df['Protect_Rank'],
49
+ mode='lines+markers', name='Protection',
50
  text=df['Role'], hoverinfo='text+y'
51
  ))
52
 
53
  fig.add_trace(go.Scatter(
54
  x=df.index, y=df['Neutral_Rank'],
55
+ mode='lines+markers', name='Neutral',
56
  text=df['Role'], hoverinfo='text+y'
57
  ))
58