def _transform_points(points, attrs):
    """Transform points to another format for better usability.

    Args:
        points (dict): Points
        attrs (list): list of point attributes

    Returns:
        list: List of Points in the format of [{'label': 'foo', ...}, {'label': 'bar'}]
    """
    items = zip(*[points[k] for k in attrs])
    return [
        {
            key.lower().replace(' ', '_'): item[idx] for idx, key in enumerate(attrs)
        }
        for item in items
    ]