diff --git a/lib/matplotlib/collections.py b/lib/matplotlib/collections.py index a40546da2770..f7fd1c3f2cfb 100644 --- a/lib/matplotlib/collections.py +++ b/lib/matplotlib/collections.py @@ -1724,8 +1724,8 @@ def draw(self, renderer): if self.have_units(): if len(self._offsets): - xs = self.convert_xunits(self._offsets[:0]) - ys = self.convert_yunits(self._offsets[:1]) + xs = self.convert_xunits(self._offsets[:, 0]) + ys = self.convert_yunits(self._offsets[:, 1]) offsets = zip(xs, ys) offsets = np.asarray(offsets, np.float_)