matplotlib 3.5.1

ParametersRaises
check_in_list(_values, *, _print_supported_values=True, **kwargs)

Parameters

_values : iterable

Sequence of values to check on.

_print_supported_values : bool, default: True

Whether to print _values when raising ValueError.

**kwargs : dict

key, value pairs as keyword arguments to find in _values.

Raises

ValueError

If any value in kwargs is not found in _values.

For each key, value pair in kwargs, check that value is in _values.

Examples

This example is valid syntax, but raise an exception at execution
>>> _api.check_in_list(["foo", "bar"], arg=arg, other_arg=other_arg)
See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


File: /matplotlib/_api/__init__.py#101
type: <class 'function'>
Commit: