Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit be3608b

Browse files
authored
Merge pull request #21321 from Kislovskiy/fix-21310
DOC Update description of ax.contour method, resolves #21310
2 parents 3557392 + 8d1edba commit be3608b

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,8 +2103,9 @@ def contour(self, X, Y, Z, *args,
21032103
21042104
Parameters
21052105
----------
2106-
X, Y, Z : array-like
2107-
Input data.
2106+
X, Y, Z : array-like,
2107+
Input data. See `~matplotlib.axes.Axes.contour` for acceptable
2108+
data shapes.
21082109
extend3d : bool, default: False
21092110
Whether to extend contour in 3D.
21102111
stride : int
@@ -2148,7 +2149,8 @@ def tricontour(self, *args,
21482149
Parameters
21492150
----------
21502151
X, Y, Z : array-like
2151-
Input data.
2152+
Input data. See `~matplotlib.axes.Axes.tricontour` for acceptable
2153+
data shapes.
21522154
extend3d : bool, default: False
21532155
Whether to extend contour in 3D.
21542156
stride : int
@@ -2206,7 +2208,8 @@ def contourf(self, X, Y, Z, *args, zdir='z', offset=None, **kwargs):
22062208
Parameters
22072209
----------
22082210
X, Y, Z : array-like
2209-
Input data.
2211+
Input data. See `~matplotlib.axes.Axes.contourf` for acceptable
2212+
data shapes.
22102213
zdir : {'x', 'y', 'z'}, default: 'z'
22112214
The direction to use.
22122215
offset : float, optional
@@ -2244,7 +2247,8 @@ def tricontourf(self, *args, zdir='z', offset=None, **kwargs):
22442247
Parameters
22452248
----------
22462249
X, Y, Z : array-like
2247-
Input data.
2250+
Input data. See `~matplotlib.axes.Axes.tricontourf` for acceptable
2251+
data shapes.
22482252
zdir : {'x', 'y', 'z'}, default: 'z'
22492253
The direction to use.
22502254
offset : float, optional
@@ -2325,7 +2329,7 @@ def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True,
23252329
Parameters
23262330
----------
23272331
xs, ys : array-like
2328-
The data positions.
2332+
The data positions.
23292333
zs : float or array-like, default: 0
23302334
The z-positions. Either an array of the same length as *xs* and
23312335
*ys* or a single value to place all points in the same plane.

0 commit comments

Comments
 (0)