Updated histogram plotting.