Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9b4f5 commit 6186817Copy full SHA for 6186817
lib/matplotlib/contour.py
@@ -1292,10 +1292,9 @@ def _initialize_x_y(self, z):
1292
Use keyword args to control colors, linewidth, origin, cmap ... see
1293
below for more details.
1294
1295
- *X*, *Y*, and *Z* must be arrays broadcastable to the same dimensions.
1296
-
1297
- *Z* may be a masked array, but filled contouring may not
1298
- handle internal masked regions correctly.
+ *X* and *Y* must both be 2-D with the same shape as *Z*, or they
+ must both be 1-D such that ``len(X)`` is the number of columns in
+ *Z* and ``len(Y)`` is the number of rows in *Z*.
1299
1300
``C = contour(...)`` returns a
1301
:class:`~matplotlib.contour.QuadContourSet` object.
0 commit comments