matplotlib 3.5.1

Parameters
deprecate_method_override(method, obj, *, allow_empty=False, **kwargs)

Parameters

method :

An unbound method, i.e. an expression of the form Class.method_name . Remember that within the body of a method, one can always use __class__ to refer to the class that is currently being defined.

obj :

Either an object of the class where method is defined, or a subclass of that class.

allow_empty : bool, default: False

Whether to allow overrides by "empty" methods without emitting a warning.

**kwargs :

Additional parameters passed to warn_deprecated to generate the deprecation warning; must at least include the "since" key.

Return obj.method with a deprecation if it was overridden, else None.

Examples

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/deprecation.py#466
type: <class 'function'>
Commit: