Update visualization.py
Browse files- visualization.py +2 -2
visualization.py
CHANGED
|
@@ -55,8 +55,8 @@ 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.axhline(y=
|
| 59 |
-
ax.axhline(y=
|
| 60 |
|
| 61 |
ax.set_xlabel('Student')
|
| 62 |
ax.set_ylabel('Percentage (%)')
|
|
|
|
| 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=90, color='#48BB88', linestyle='--', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
|
| 59 |
+
ax.axhline(y=80, color='#235E44', linestyle='--', linewidth=1.5, label=f'Engagement Threshold: ≥ 80%')
|
| 60 |
|
| 61 |
ax.set_xlabel('Student')
|
| 62 |
ax.set_ylabel('Percentage (%)')
|