Small changes to histogram plotting

Also fixed a typo