def METHOD_NAME(data, **kwargs):
    # in any case user gets to override the choice
    context_name = kwargs.get("context") or _detect_current_context()
    # TODO: remove when Plotter is removed
    if context_name == "Plotter":
        warn("The usage of Plotter with COMPAS Artist is deprecated!")
    dtype = type(data)
    cls = None
    if "artist_type" in kwargs:
        cls = kwargs["artist_type"]
    else:
        context = Artist.ITEM_ARTIST[context_name]
        for type_ in inspect.getmro(dtype):
            cls = context.get(type_, None)
            if cls is not None:
                break
    if cls is None:
        raise DataArtistNotRegistered(
            "No artist is registered for this data type: {} in this context: {}".format(dtype, context_name)
        )
    return cls