From 880c795c18e9c2b2f6cc17f2412b35e2a4eb77e7 Mon Sep 17 00:00:00 2001 From: Yu Feng Date: Thu, 4 Dec 2014 08:43:16 -0800 Subject: [PATCH] Update collections.py Issue #3887 --- 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 c81d598cd142..1f0111343331 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -1480,7 +1480,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