matplotlib 3.5.1

BackRef

2D affine transformations are performed using a 3x3 numpy array:

a c e
b d f
0 0 1

This class provides the read-only interface. For a mutable 2D affine transformation, use Affine2D .

Subclasses of this class will generally only need to override a constructor and get_matrix that generates a custom 3x3 matrix.

The base class of all 2D affine transformations.

Examples

See :

Back References

The following pages refer to to this document either explicitly or contain code examples using this.

matplotlib.backend_bases.RendererBase.draw_image matplotlib.transforms.BlendedAffine2D matplotlib.transforms.CompositeAffine2D.__init__ matplotlib.transforms.Affine2D.set

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