Skip to content

Commit b132d52

Browse files
committed
Merge pull request #3891 from mdboom/update-collections-backport
Backport of #3888
2 parents 2d61810 + c43fba9 commit b132d52

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/collections.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,8 @@ def _set_transforms(self):
15011501
self._transforms[:, 1, 0] = widths * sin_angle
15021502
self._transforms[:, 1, 1] = heights * cos_angle
15031503
self._transforms[:, 2, 2] = 1.0
1504-
1504+
1505+
_affine = transforms.Affine2D
15051506
if self._units == 'xy':
15061507
m = ax.transData.get_affine().get_matrix().copy()
15071508
m[:2, 2:] = 0

0 commit comments

Comments
 (0)