Spaces:
Running
Running
Zekun Wu
commited on
Commit
•
cd0fc76
1
Parent(s):
205952b
update
Browse files- util/plot.py +3 -3
util/plot.py
CHANGED
@@ -6,19 +6,19 @@ def create_sector_plot(df, sector_name):
|
|
6 |
|
7 |
fig.add_trace(go.Scatter(
|
8 |
x=df.index, y=df['Privilege_Avg_Score'],
|
9 |
-
mode='lines+markers', name='Privilege
|
10 |
text=df['Role'], hoverinfo='text+y'
|
11 |
))
|
12 |
|
13 |
fig.add_trace(go.Scatter(
|
14 |
x=df.index, y=df['Protect_Avg_Score'],
|
15 |
-
mode='lines+markers', name='Protection
|
16 |
text=df['Role'], hoverinfo='text+y'
|
17 |
))
|
18 |
|
19 |
fig.add_trace(go.Scatter(
|
20 |
x=df.index, y=df['Neutral_Avg_Score'],
|
21 |
-
mode='lines+markers', name='Neutral
|
22 |
text=df['Role'], hoverinfo='text+y'
|
23 |
))
|
24 |
|
|
|
6 |
|
7 |
fig.add_trace(go.Scatter(
|
8 |
x=df.index, y=df['Privilege_Avg_Score'],
|
9 |
+
mode='lines+markers', name='Privilege',
|
10 |
text=df['Role'], hoverinfo='text+y'
|
11 |
))
|
12 |
|
13 |
fig.add_trace(go.Scatter(
|
14 |
x=df.index, y=df['Protect_Avg_Score'],
|
15 |
+
mode='lines+markers', name='Protection',
|
16 |
text=df['Role'], hoverinfo='text+y'
|
17 |
))
|
18 |
|
19 |
fig.add_trace(go.Scatter(
|
20 |
x=df.index, y=df['Neutral_Avg_Score'],
|
21 |
+
mode='lines+markers', name='Neutral',
|
22 |
text=df['Role'], hoverinfo='text+y'
|
23 |
))
|
24 |
|