logo

... sleep: drawing the line



Notes

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)

Feedback? See an issue? Something unclear? Feel free to mention it here.



If you want to be kept up to date, consider signing up for the newsletter.