Zekun Wu commited on
Commit
e0d40a6
1 Parent(s): dd7312b
Files changed (1) hide show
  1. pages/2_Evaluation.py +2 -2
pages/2_Evaluation.py CHANGED
@@ -83,13 +83,13 @@ def app():
83
 
84
 
85
  hist_rank_fig = px.histogram(
86
- df.melt(id_vars=['Role'], value_vars=['Privilege_Rank', 'Protection_Rank', 'Neutral_Rank']),
87
  x='value', color='variable', facet_col='variable', title='Distribution of Ranks')
88
  st.plotly_chart(hist_rank_fig)
89
 
90
 
91
  box_rank_fig = px.box(
92
- df.melt(id_vars=['Role'], value_vars=['Privilege_Rank', 'Protection_Rank', 'Neutral_Rank']),
93
  x='variable', y='value', color='variable', title='Spread of Ranks')
94
  st.plotly_chart(box_rank_fig)
95
 
 
83
 
84
 
85
  hist_rank_fig = px.histogram(
86
+ df.melt(id_vars=['Role'], value_vars=['Privilege_Rank', 'Protect_Rank', 'Neutral_Rank']),
87
  x='value', color='variable', facet_col='variable', title='Distribution of Ranks')
88
  st.plotly_chart(hist_rank_fig)
89
 
90
 
91
  box_rank_fig = px.box(
92
+ df.melt(id_vars=['Role'], value_vars=['Privilege_Rank', 'Protect_Rank', 'Neutral_Rank']),
93
  x='variable', y='value', color='variable', title='Spread of Ranks')
94
  st.plotly_chart(box_rank_fig)
95