From c43fba98f081afceda48d21c3bda2f153cf34e53 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Thu, 4 Dec 2014 13:35:36 -0500 Subject: [PATCH] Merge pull request #3888 from rainwoodman/patch-1 Update collections.py --- lib/matplotlib/collections.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/matplotlib/collections.py b/lib/matplotlib/collections.py index 802826403b8a..3e781d3602e8 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -1501,7 +1501,8 @@ def _set_transforms(self): self._transforms[:, 1, 0] = widths * sin_angle self._transforms[:, 1, 1] = heights * cos_angle self._transforms[:, 2, 2] = 1.0 - + + _affine = transforms.Affine2D if self._units == 'xy': m = ax.transData.get_affine().get_matrix().copy() m[:2, 2:] = 0