Update visualization.py
Browse files- visualization.py +2 -2
    	
        visualization.py
    CHANGED
    
    | @@ -56,8 +56,8 @@ class Visualization: | |
| 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 | 
            -
                    ax.fill_between( | 
| 60 | 
            -
                    ax.fill_between( | 
| 61 |  | 
| 62 |  | 
| 63 | 
             
                    ax.set_xlabel('Student')
         | 
|  | |
| 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 | 
            +
                    ax.fill_between(90, 100, alpha=0.1, color='#005288', label='Attendance Goal')
         | 
| 60 | 
            +
                    ax.fill_between(80, 89, alpha=0.1, color='#3AB0FF', label='Engagement Goal')
         | 
| 61 |  | 
| 62 |  | 
| 63 | 
             
                    ax.set_xlabel('Student')
         | 
