Adding convenience method to query 1d histograms