From 2227d553294c07ddcfee5f6bceaecfaff611fd65 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 dac18d498552..91edd5f89dea 100644 --- a/lib/matplotlib/lines.py +++ b/lib/matplotlib/lines.py @@ -811,10 +811,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