ProfessorLeVesseur
commited on
Commit
•
7211feb
1
Parent(s):
b92ff14
Update visualization.py
Browse files- visualization.py +3 -0
visualization.py
CHANGED
@@ -55,6 +55,9 @@ class Visualization:
|
|
55 |
ax.axhline(y=attendance_avg_stats, color='#005288', linestyle='--', linewidth=1.5, label=f'Attendance Average: {attendance_avg_stats}%')
|
56 |
ax.axhline(y=engagement_avg_stats, color='#3AB0FF', linestyle='--', linewidth=1.5, label=f'Engagement Average: {engagement_avg_stats}%')
|
57 |
|
|
|
|
|
|
|
58 |
ax.set_xlabel('Student')
|
59 |
ax.set_ylabel('Percentage (%)')
|
60 |
ax.set_title('Student Attendance and Engagement Metrics')
|
|
|
55 |
ax.axhline(y=attendance_avg_stats, color='#005288', linestyle='--', linewidth=1.5, label=f'Attendance Average: {attendance_avg_stats}%')
|
56 |
ax.axhline(y=engagement_avg_stats, color='#3AB0FF', linestyle='--', linewidth=1.5, label=f'Engagement Average: {engagement_avg_stats}%')
|
57 |
|
58 |
+
ax.axhline(y=attendance_avg_stats, color='#48BB88', linestyle='--', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
|
59 |
+
ax.axhline(y=engagement_avg_stats, color='#235E44', linestyle='--', linewidth=1.5, label=f'Engagement Threshold: ≥ 80%')
|
60 |
+
|
61 |
ax.set_xlabel('Student')
|
62 |
ax.set_ylabel('Percentage (%)')
|
63 |
ax.set_title('Student Attendance and Engagement Metrics')
|