matplotlib 3.5.1

NotesParameters
get_path_collection_extents(master_transform, paths, transforms, offsets, offset_transform)

Notes

The way that paths, transforms and offsets are combined follows the same method as for collections: Each is iterated over independently, so if you have 3 paths, 2 transforms and 1 offset, their combinations are as follows:

(A, A, A), (B, B, A), (C, A, A)

Parameters

master_transform : `.Transform`

Global transformation applied to all paths.

paths : list of `Path`
transforms : list of `.Affine2D`
offsets : (N, 2) array-like
offset_transform : `.Affine2D`

Transform applied to the offsets before offsetting the path.

Given a sequence of Path \s, .Transform \s objects, and offsets, as found in a .PathCollection , returns the bounding box that encapsulates all of them.

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