harmdevries commited on
Commit
7ef5095
1 Parent(s): a9c337a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -2
app.py CHANGED
@@ -15,14 +15,22 @@ for milestone in inference_repo.get_milestones():
15
  for line in milestone.description.split('\n'):
16
  tmp = line.split(":")
17
  desc[tmp[0].lower()] = tmp[1].lower().strip()
18
- df.append(dict(Task=milestone.title, Start=desc['start date'], Finish=milestone.due_on.strftime('%Y-%m-%d'), Resource=desc['status']))
 
 
 
 
19
 
20
  colors = {'not started': 'rgb(220, 0, 0)',
21
  'incomplete': (1, 0.9, 0.16),
22
  'complete': 'rgb(0, 255, 100)'}
23
 
24
 
25
- fig = ff.create_gantt(df, colors=colors, index_col='Resource', show_colorbar=True, title="BigCode planning")
 
 
 
 
26
  fig.update_xaxes(ticks= "outside",
27
  ticklabelmode= "period",
28
  tickformat="%b",
 
15
  for line in milestone.description.split('\n'):
16
  tmp = line.split(":")
17
  desc[tmp[0].lower()] = tmp[1].lower().strip()
18
+ df.append(dict(Task=milestone.title,
19
+ Start=desc['start date'],
20
+ Finish=milestone.due_on.strftime('%Y-%m-%d'),
21
+ Resource=desc['status'],
22
+ Leader=desc['leader']))
23
 
24
  colors = {'not started': 'rgb(220, 0, 0)',
25
  'incomplete': (1, 0.9, 0.16),
26
  'complete': 'rgb(0, 255, 100)'}
27
 
28
 
29
+ fig = ff.create_gantt(df, colors=colors,
30
+ index_col='Resource',
31
+ show_colorbar=True,
32
+ show_hover_fill=True,
33
+ title="BigCode planning")
34
  fig.update_xaxes(ticks= "outside",
35
  ticklabelmode= "period",
36
  tickformat="%b",