[MRG] hist: add uniform method