From cd28dd68e30801cc96988b8fb1474f35483fa79b Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Tue, 4 Jun 2019 16:55:07 -0700 Subject: [PATCH] Return points rather than path to fix regression recovered in astropy issue 8792 --- lib/matplotlib/lines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/lines.py b/lib/matplotlib/lines.py index 52fffe09abaf..477565723bed 100644 --- a/lib/matplotlib/lines.py +++ b/lib/matplotlib/lines.py @@ -835,10 +835,10 @@ def draw(self, renderer): self.recache() self._transform_path(subslice) tpath, affine = (self._get_transformed_path() - .get_transformed_path_and_affine()) + .get_transformed_points_and_affine()) else: tpath, affine = (self._get_transformed_path() - .get_transformed_path_and_affine()) + .get_transformed_points_and_affine()) if len(tpath.vertices): # subsample the markers if markevery is not None