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.