From d8c367260b4603230f9cfca9c9bc594cf253bad1 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 8 Jun 2019 16:42:17 -0400 Subject: [PATCH] Backport PR #14451: FIX: return points rather than path to fix regression --- 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 b1fcecca494c..4737b5d88056 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