Tesneem commited on
Commit
4e8d8ee
·
verified ·
1 Parent(s): fc21243

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -499,24 +499,24 @@ if trend_mode:
499
  title="Average Skill Group Scores by Stage"
500
  )
501
 
502
- else:
503
- # Your existing per-student radar chart plotting code
504
- fig = go.Figure()
505
- for _, row in df_final.iterrows():
506
- values = row[list(SKILL_GROUPS.keys())].tolist()
507
-
508
- fig.add_trace(go.Scatterpolar(
509
- r=values,
510
- theta=list(SKILL_GROUPS.keys()),
511
- fill='toself',
512
- name=row["label"]
513
- ))
514
 
515
- fig.update_layout(
516
- polar=dict(radialaxis=dict(visible=True, range=[0, 1])),
517
- showlegend=True,
518
- title="Student Skill Radar"
519
- )
520
 
521
  st.plotly_chart(fig, use_container_width=True)
522
 
 
499
  title="Average Skill Group Scores by Stage"
500
  )
501
 
502
+ # else:
503
+ # # Your existing per-student radar chart plotting code
504
+ # fig = go.Figure()
505
+ # for _, row in df_final.iterrows():
506
+ # values = row[list(SKILL_GROUPS.keys())].tolist()
507
+
508
+ # fig.add_trace(go.Scatterpolar(
509
+ # r=values,
510
+ # theta=list(SKILL_GROUPS.keys()),
511
+ # fill='toself',
512
+ # name=row["label"]
513
+ # ))
514
 
515
+ # fig.update_layout(
516
+ # polar=dict(radialaxis=dict(visible=True, range=[0, 1])),
517
+ # showlegend=True,
518
+ # title="Student Skill Radar"
519
+ # )
520
 
521
  st.plotly_chart(fig, use_container_width=True)
522