matplotlib 3.5.1

Attributes

Attributes

figs : OrderedDict

:None:None:`OrderedDict` mapping numbers to managers; the active manager is at the end.

The canvas of a figure created through pyplot is associated with a figure manager, which handles the interaction between the figure and the backend. pyplot keeps track of figure managers using an identifier, the "figure number" or "manager number" (which can actually be any hashable value); this number is available as the number attribute of the manager.

This class is never instantiated; it consists of an :None:None:`OrderedDict` mapping figure/manager numbers to managers, and a set of class methods that manipulate this :None:None:`OrderedDict`.

Singleton to maintain the relation between figures and their managers, and keep track of and "active" figure and manager.

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/_pylab_helpers.py#10
type: <class 'type'>
Commit: