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