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

Skip to content

Commit 59eda22

Browse files
committed
Merge pull request #3888 from rainwoodman/patch-1
Update collections.py
2 parents 70d0735 + 880c795 commit 59eda22

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
@@ -1480,7 +1480,8 @@ def _set_transforms(self):
14801480
self._transforms[:, 1, 0] = widths * sin_angle
14811481
self._transforms[:, 1, 1] = heights * cos_angle
14821482
self._transforms[:, 2, 2] = 1.0
1483-
1483+
1484+
_affine = transforms.Affine2D
14841485
if self._units == 'xy':
14851486
m = ax.transData.get_affine().get_matrix().copy()
14861487
m[:2, 2:] = 0

0 commit comments

Comments
 (0)