Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f0f2f38

Browse filesBrowse files
committed
Add description for XYZ in contour method
1 parent eb5ed71 commit f0f2f38
Copy full SHA for f0f2f38

File tree

Expand file treeCollapse file tree

1 file changed

+12
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-2
lines changed

‎lib/mpl_toolkits/mplot3d/axes3d.py

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/mplot3d/axes3d.py
+12-2Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2103,8 +2103,18 @@ def contour(self, X, Y, Z, *args,
21032103
21042104
Parameters
21052105
----------
2106-
X, Y, Z : array-like
2107-
Input data.
2106+
X, Y : array-like,
2107+
The coordinates of the values in *Z*.
2108+
2109+
*X* and *Y* must both be 2D with the same shape as *Z* (e.g.
2110+
created via `numpy.meshgrid`), or they must both be 1-D such
2111+
that ``len(X) == N`` is the number of columns in *Z* and
2112+
``len(Y) == M`` is the number of rows in *Z*.
2113+
2114+
If not given, they are assumed to be integer indices, i.e.
2115+
``X = range(N)``, ``Y = range(M)``.
2116+
Z : (M, N) array-like
2117+
The height values over which the contour is drawn.
21082118
extend3d : bool, default: False
21092119
Whether to extend contour in 3D.
21102120
stride : int

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.