matplotlib 3.5.1

ParametersReturns
composite_images(images, renderer, magnification=1.0)

Parameters

images : list of Images

Each must have a :None:None:`make_image` method. For each image, can_composite should return :None:None:`True`, though this is not enforced by this function. Each image must have a purely affine transformation with no shear.

renderer : `.RendererBase`
magnification : float, default: 1

The additional magnification to apply for the renderer in use.

Returns

image : uint8 array (M, N, 4)

The composited RGBA image.

offset_x, offset_y : float

The (left, bottom) offset where the composited image should be placed in the output figure.

Composite a number of RGBA images into one. The images are composited in the order in which they appear in the images list.

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