def _filter_nones(centers_list):
    """
    Filters out `None` from input list

    Parameters
    ----------
    centers_list : list
        List potentially containing `None` elements

    Returns
    -------
    new_list : list
        List without any `None` elements

    """
    return [c for c in centers_list if c is not None]