Generalize bargraph (frontend), allow for pmf lists