plots.interactive.utils ======================= .. py:module:: plots.interactive.utils Functions --------- .. autoapisummary:: plots.interactive.utils.list_to_human plots.interactive.utils.recursive_dict_update Module Contents --------------- .. py:function:: list_to_human(iterable, conjunction='and', oxford_comma=False) Convert an iterable to a human-readable string. :param iterable: The list of strings to convert to a single natural language string. :type iterable: list or tuple :param conjunction: The conjunction with which to join the last two elements of the list, for example "and" (default). :type conjunction: str, optional :param oxford_comma: If `True`, an "Oxford comma" will be added before the conjunction when there are three or more elements in the list. Default is `False`. :type oxford_comma: bool, optional .. py:function:: recursive_dict_update(original_dict, update_dict) Recursively update a dictionary with keys and values from another dictionary. :param original_dict: The original dictionary to be updated (in place). :type original_dict: dict :param update_dict: The dictionary containing keys to be updated in the original dictionary. :type update_dict: dict