Change indenting
Change P(E) to Probability
Refactor graph
Add more descriptive Y-axis labels

[ci skip]
Fix graph generation on Heroku

Thanks @wei2912 for pointing out a mistake.