closest# scikitplot.levenshtein.closest(query, choices, *, key=None, score_cutoff=0.0, backend='auto', strict=False)[source]# Return the closest choice, or None for an empty iterable. Parameters: query (Any) choices (Iterable[Any]) key (Callable[[Any], Any] | None) score_cutoff (float) backend (str) strict (bool) Return type: Match | None Gallery examples# Rank fuzzy matches Rank fuzzy matches