ProfessorLeVesseur commited on
Commit
a852e0b
·
verified ·
1 Parent(s): 60e14a3

Update visualization.py

Browse files
Files changed (1) hide show
  1. visualization.py +2 -2
visualization.py CHANGED
@@ -52,8 +52,8 @@ class Visualization:
52
  height = bar.get_height()
53
  ax.text(bar.get_x() + bar.get_width() / 2, height, f'{height:.0f}%', ha='center', va='bottom', color='black')
54
 
55
- ax.axhline(y=90, color='#005288', linestyle='.', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
56
- ax.axhline(y=80, color='#3AB0FF', linestyle='.', linewidth=1.5, label=f'Engagement Threshold: ≥ 80%')
57
  ax.axhline(y=attendance_avg_stats, color='#005288', linestyle='--', linewidth=1.5, label=f'Attendance Average: {attendance_avg_stats}%')
58
  ax.axhline(y=engagement_avg_stats, color='#3AB0FF', linestyle='--', linewidth=1.5, label=f'Engagement Average: {engagement_avg_stats}%')
59
 
 
52
  height = bar.get_height()
53
  ax.text(bar.get_x() + bar.get_width() / 2, height, f'{height:.0f}%', ha='center', va='bottom', color='black')
54
 
55
+ ax.axhline(y=90, color='#005288', linestyle=':', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
56
+ ax.axhline(y=80, color='#3AB0FF', linestyle=':', linewidth=1.5, label=f'Engagement Threshold: ≥ 80%')
57
  ax.axhline(y=attendance_avg_stats, color='#005288', linestyle='--', linewidth=1.5, label=f'Attendance Average: {attendance_avg_stats}%')
58
  ax.axhline(y=engagement_avg_stats, color='#3AB0FF', linestyle='--', linewidth=1.5, label=f'Engagement Average: {engagement_avg_stats}%')
59