adding numpy histogram