Calmcode - sleep: drawing the line

Drawing the Line

1 2 3 4 5 6 7 8 9

Here's the code we wrote to make the lines;

effect_dict = dict(calc_diff(df))

plt.figure(figsize=(12, 4))

for idx, name in enumerate(['unit_tests', 'asserts', 'user_stories']):
    plt.subplot(131 + idx)
    plt.hist(df_diff[f'diff_{name}'])
    plt.vlines(effect_dict[f'mean_{name}'], 0, 300, color='red')
    plt.title(name)