Finished histogram plotting