def _make_labels_wrap(labels):
    """Break labels which contain more than one name into multiple lines."""
    for i, l in enumerate(labels):
        if len(l) > 25:
            # Split lines at ", " and rejoin with newline.
            labels[i] = '\n'.join(l.split(", "))
    return labels