Skip to content

Commit 0849085

Browse files
committed
Remove extra newlines in contour(f) docs.
1 parent caaf3b7 commit 0849085

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/matplotlib/axes/_axes.py

-2
Original file line numberDiff line numberDiff line change
@@ -6246,7 +6246,6 @@ def contour(self, *args, **kwargs):
62466246
Call signature::
62476247
62486248
contour([X, Y,] Z, [levels], **kwargs)
6249-
62506249
""" + mcontour.QuadContourSet._contour_doc
62516250

62526251
@_preprocess_data()
@@ -6261,7 +6260,6 @@ def contourf(self, *args, **kwargs):
62616260
Call signature::
62626261
62636262
contourf([X, Y,] Z, [levels], **kwargs)
6264-
62656263
""" + mcontour.QuadContourSet._contour_doc
62666264

62676265
def clabel(self, CS, levels=None, **kwargs):

lib/matplotlib/contour.py

-1
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,6 @@ def _initialize_x_y(self, z):
15551555
return np.meshgrid(x, y)
15561556

15571557
_contour_doc = """
1558-
15591558
`.contour` and `.contourf` draw contour lines and filled contours,
15601559
respectively. Except as noted, function signatures and return values
15611560
are the same for both versions.

0 commit comments

Comments
 (0)