Update app.py
Browse files
app.py
CHANGED
|
@@ -340,7 +340,7 @@ def plot_intervention_statistics(intervention_stats):
|
|
| 340 |
ax.set_title('Intervention Sessions Held vs Not Held', fontsize=16) # Optional: Increased title font size
|
| 341 |
# Reverse the legend order to match the new stacking order
|
| 342 |
handles, labels = ax.get_legend_handles_labels()
|
| 343 |
-
ax.legend(handles[::-1], labels[::-1]
|
| 344 |
|
| 345 |
# Hide the top and right spines
|
| 346 |
ax.spines['top'].set_visible(False)
|
|
|
|
| 340 |
ax.set_title('Intervention Sessions Held vs Not Held', fontsize=16) # Optional: Increased title font size
|
| 341 |
# Reverse the legend order to match the new stacking order
|
| 342 |
handles, labels = ax.get_legend_handles_labels()
|
| 343 |
+
ax.legend(handles[::-1], labels[::-1])
|
| 344 |
|
| 345 |
# Hide the top and right spines
|
| 346 |
ax.spines['top'].set_visible(False)
|