def METHOD_NAME(plotlib, context, style):
    expected_format = {
        "plot": {
            "plotlib": "ANY OF "
            + "/".join(['"publib"', '"seaborn"', '"matplotlib"', '"none"']),
            "context": "ANY OF " + "/".join(f'"{c}"' for c in KNOWN_CONTEXT),
            "style": "ANY OF the publib / seaborn / matplotlib themes",
        }
    }
    # Get defaults
    if plotlib == "config-default":
        try:
            plotlib = radis.config["plot"]["plotlib"]
        except KeyError:
            raise ValueError(
                "Missing key in your ~/radis.json user config file. Expected format :\n\n {0}".format(
                    expected_format
                )
            )
    if context == "config-default":
        try:
            context = radis.config["plot"]["context"]
        except KeyError:
            raise ValueError(
                "Missing key `context` in your ~/radis.json user config file. Expected format :\n\n {0}".format(
                    expected_format
                )
            )
    if style == "config-default":
        try:
            style = radis.config["plot"]["style"]
        except KeyError:
            raise ValueError(
                "Missing key `style` in your ~/radis.json user config file. Expected format :\n\n {0}".format(
                    expected_format
                )
            )
    if context and context not in KNOWN_CONTEXT:
        raise ValueError(f"context must be in {KNOWN_CONTEXT}. Got {context}")
    if plotlib == "publib":
        if not isinstance(style, list):
            style = [style]
        if context == "paper":
            style = style + ["article"]
        elif context in ["poster", "notebook", "talk"]:
            style = style + [context]
    return plotlib, context, style