Skip to content

Commit 94c553c

Browse files
committed
add references to axes methods
1 parent 8e6b068 commit 94c553c

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

lib/mpl_toolkits/mplot3d/axes3d.py

+10-14
Original file line numberDiff line numberDiff line change
@@ -2103,16 +2103,9 @@ def contour(self, X, Y, Z, *args,
21032103
21042104
Parameters
21052105
----------
2106-
X, Y : array-like,
2107-
*X* and *Y* are x-y coordinates, specified as 2D arrays of the same
2108-
size as *Z*. `numpy.meshgrid` function could be used to create *X*
2109-
and *Y* coordinate matrices from coordinate vectors.
2110-
If ``size(Z) == [N, N]`` the *X* and *Y* matrices could be
2111-
specified as 1D arrays, where ``len(X) == len(Y) == N``
2112-
Z : array-like,
2113-
*Z* is a 2D array that specifies the height values at each x-y
2114-
coordinate over which the contour is drawn. Z must have at least
2115-
two rows and two columns.
2106+
X, Y, Z : array-like,
2107+
Input data. See `~matplotlib.axes.Axes.contour` for acceptable
2108+
data shapes.
21162109
extend3d : bool, default: False
21172110
Whether to extend contour in 3D.
21182111
stride : int
@@ -2156,7 +2149,8 @@ def tricontour(self, *args,
21562149
Parameters
21572150
----------
21582151
X, Y, Z : array-like
2159-
Input data.
2152+
Input data. See `~matplotlib.axes.Axes.tricontour` for acceptable
2153+
data shapes.
21602154
extend3d : bool, default: False
21612155
Whether to extend contour in 3D.
21622156
stride : int
@@ -2214,7 +2208,8 @@ def contourf(self, X, Y, Z, *args, zdir='z', offset=None, **kwargs):
22142208
Parameters
22152209
----------
22162210
X, Y, Z : array-like
2217-
Input data.
2211+
Input data. See `~matplotlib.axes.Axes.contourf` for acceptable
2212+
data shapes.
22182213
zdir : {'x', 'y', 'z'}, default: 'z'
22192214
The direction to use.
22202215
offset : float, optional
@@ -2252,7 +2247,8 @@ def tricontourf(self, *args, zdir='z', offset=None, **kwargs):
22522247
Parameters
22532248
----------
22542249
X, Y, Z : array-like
2255-
Input data.
2250+
Input data. See `~matplotlib.axes.Axes.tricontourf` for acceptable
2251+
data shapes.
22562252
zdir : {'x', 'y', 'z'}, default: 'z'
22572253
The direction to use.
22582254
offset : float, optional
@@ -2333,7 +2329,7 @@ def scatter(self, xs, ys, zs=0, zdir='z', s=20, c=None, depthshade=True,
23332329
Parameters
23342330
----------
23352331
xs, ys : array-like
2336-
The data positions.
2332+
The data positions.
23372333
zs : float or array-like, default: 0
23382334
The z-positions. Either an array of the same length as *xs* and
23392335
*ys* or a single value to place all points in the same plane.

0 commit comments

Comments
 (0)