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 b4b3235

Browse filesBrowse files
committed
Improve error message.
1 parent cba8e7d commit b4b3235
Copy full SHA for b4b3235

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎lib/matplotlib/contour.py

Copy file name to clipboardExpand all lines: lib/matplotlib/contour.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1458,7 +1458,7 @@ def _contour_args(self, args, kwargs):
14581458
elif (("X" in kwargs) ^ ("Y" in kwargs)) and "Z" in kwargs:
14591459
raise TypeError(
14601460
"Both or neither 'X' and 'Y' may be passed as kwargs. "
1461-
"Passing only one of the two is not allowed."
1461+
"Passing only one of 'X' or 'Y' is not allowed."
14621462
)
14631463
elif "Z" in kwargs:
14641464
z = ma.asarray(kwargs.pop("Z"), dtype=np.float64)

0 commit comments

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