ProfessorLeVesseur commited on
Commit
284bc13
·
verified ·
1 Parent(s): af8357b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -480,7 +480,8 @@ def plot_student_metrics(student_metrics_df):
480
  ax.set_ylabel('Percentage (%)')
481
  ax.set_title('Student Attendance and Engagement Metrics')
482
  # ax.legend()
483
- ax.legend(loc='upper right', bbox_to_anchor=(1.25, 1), borderaxespad=0.)
 
484
  ax.set_xticks(index) # Set x-ticks to the index
485
  ax.set_xticklabels(student_metrics_df['Student'], rotation=0, ha='right') # Set student names as x-tick labels
486
  # Set the y-axis limits and tick locations
 
480
  ax.set_ylabel('Percentage (%)')
481
  ax.set_title('Student Attendance and Engagement Metrics')
482
  # ax.legend()
483
+ # ax.legend(loc='upper right', bbox_to_anchor=(1.25, 1), borderaxespad=0.)
484
+ ax.legend(loc='upper right')
485
  ax.set_xticks(index) # Set x-ticks to the index
486
  ax.set_xticklabels(student_metrics_df['Student'], rotation=0, ha='right') # Set student names as x-tick labels
487
  # Set the y-axis limits and tick locations