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