def get_xy(self, vmin=1, vmax=100):
    self.counts = sorted(((a, b) for (a, b) in self.hist.items() if (vmin <= a <= vmax)))
    return zip(*self.counts)
def get_xy(self, vmin=1, vmax=100):
    self.counts = sorted(((a, b) for (a, b) in self.hist.items() if (vmin <= a <= vmax)))
    return zip(*self.counts)