Code that makes cards for limits from histograms