def display_hour_range(value):
    """

    Function that either displays the hour range input or hides depending on the
    time radio button selected.

    Args:
        value: Contains the time radio button option selected.

    Returns:
        A dictionary that communicates with the Dash interface whether to
        display the hour range or hide it.

    """

    if value is None or value == 'Day':
        return {'display': 'none'}
    else:
        return {'display': 'unset'}