From 0849085d7c8f76e09a6eeaa9e26f28f79c98c0fa Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Tue, 13 Oct 2020 17:08:51 -0400 Subject: [PATCH] Remove extra newlines in contour(f) docs. --- lib/matplotlib/axes/_axes.py | 2 -- lib/matplotlib/contour.py | 1 - 2 files changed, 3 deletions(-) diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index c6e47a3f1490..36f9d73aa14d 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -6246,7 +6246,6 @@ def contour(self, *args, **kwargs): Call signature:: contour([X, Y,] Z, [levels], **kwargs) - """ + mcontour.QuadContourSet._contour_doc @_preprocess_data() @@ -6261,7 +6260,6 @@ def contourf(self, *args, **kwargs): Call signature:: contourf([X, Y,] Z, [levels], **kwargs) - """ + mcontour.QuadContourSet._contour_doc def clabel(self, CS, levels=None, **kwargs): diff --git a/lib/matplotlib/contour.py b/lib/matplotlib/contour.py index d700beeee916..a95d0418ad52 100644 --- a/lib/matplotlib/contour.py +++ b/lib/matplotlib/contour.py @@ -1555,7 +1555,6 @@ def _initialize_x_y(self, z): return np.meshgrid(x, y) _contour_doc = """ - `.contour` and `.contourf` draw contour lines and filled contours, respectively. Except as noted, function signatures and return values are the same for both versions.