Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 123deb5

Browse files
committed
Add a comment about _transforms
1 parent 2f5a633 commit 123deb5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/matplotlib/collections.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,12 @@ class Collection(artist.Artist, cm.ScalarMappable):
8080
# _offsets must be a Nx2 array!
8181
_offsets.shape = (0, 2)
8282
_transOffset = transforms.IdentityTransform()
83+
#: Either a list of 3x3 arrays or an Nx3x3 array of transforms, suitable
84+
#: for the `all_transforms` argument to
85+
#: :meth:`~matplotlib.backend_bases.RendererBase.draw_path_collection`;
86+
#: each 3x3 array is used to initialize an
87+
#: :class:`~matplotlib.transforms.Affine2D` object.
88+
#: Each kind of collection defines this based on its arguments.
8389
_transforms = np.empty((0, 3, 3))
8490

8591
def __init__(self,

0 commit comments

Comments
 (0)