ProfessorLeVesseur commited on
Commit
6fe5cb9
1 Parent(s): f6d1135

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -258,8 +258,8 @@ def plot_intervention_statistics(intervention_stats):
258
  sessions_not_held = intervention_stats['Intervention Sessions Not Held'].values[0]
259
 
260
  fig, ax = plt.subplots()
261
- ax.bar(['Intervention Sessions'], [sessions_not_held], label='Not Held', color='#91D6B8')
262
  ax.bar(['Intervention Sessions'], [sessions_held], bottom=[sessions_not_held], label='Held', color='#358E66')
 
263
 
264
  # Display values on the bars
265
  ax.text(0, sessions_not_held / 2, str(sessions_not_held), ha='center', va='center', color='white')
 
258
  sessions_not_held = intervention_stats['Intervention Sessions Not Held'].values[0]
259
 
260
  fig, ax = plt.subplots()
 
261
  ax.bar(['Intervention Sessions'], [sessions_held], bottom=[sessions_not_held], label='Held', color='#358E66')
262
+ ax.bar(['Intervention Sessions'], [sessions_not_held], label='Not Held', color='#91D6B8')
263
 
264
  # Display values on the bars
265
  ax.text(0, sessions_not_held / 2, str(sessions_not_held), ha='center', va='center', color='white')