Adjusting the number of bins in a histogram