Update visualization.py
Browse files- visualization.py +2 -2
visualization.py
CHANGED
@@ -67,8 +67,8 @@ class Visualization:
|
|
67 |
x_min, x_max = ax.get_xlim()
|
68 |
|
69 |
# Highlight the range 80-89 for "Engagement Threshold" and 90-100 for "Attendance Threshold"
|
70 |
-
ax.fill_betweenx(y=[90, 100], x1=x_min, x2=x_max, color='#005288', alpha=0.2, label='Attendance
|
71 |
-
ax.fill_betweenx(y=[80, 90], x1=x_min, x2=x_max, color='#3AB0FF', alpha=0.2, label='Engagement
|
72 |
|
73 |
# Add horizontal lines for thresholds and averages
|
74 |
# ax.axhline(y=90, color='#005288', linestyle=':', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
|
|
|
67 |
x_min, x_max = ax.get_xlim()
|
68 |
|
69 |
# Highlight the range 80-89 for "Engagement Threshold" and 90-100 for "Attendance Threshold"
|
70 |
+
ax.fill_betweenx(y=[90, 100], x1=x_min, x2=x_max, color='#005288', alpha=0.2, label='Attendance Goal: ≥ 90%')
|
71 |
+
ax.fill_betweenx(y=[80, 90], x1=x_min, x2=x_max, color='#3AB0FF', alpha=0.2, label='Engagement Goal: ≥ 80%')
|
72 |
|
73 |
# Add horizontal lines for thresholds and averages
|
74 |
# ax.axhline(y=90, color='#005288', linestyle=':', linewidth=1.5, label=f'Attendance Threshold: ≥ 90%')
|