get_limits accepts list of hists