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 a45f217

Browse filesBrowse files
committed
Changed exception message
1 parent 331d5d3 commit a45f217
Copy full SHA for a45f217

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-6
lines changed

‎lib/matplotlib/cbook.py

Copy file name to clipboardExpand all lines: lib/matplotlib/cbook.py
+1-6Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2694,12 +2694,7 @@ def __init__(self, function, inverse, bounded_0_1=True, check_params=None):
26942694
elif callable(check_params):
26952695
self._check_params = check_params
26962696
else:
2697-
raise ValueError("Check params must be a callable taking a list "
2698-
"with function parameters and returning a "
2699-
"boolean indicating whether that combination of "
2700-
"parameters is valid. In case of validity for "
2701-
"any combination of parameters it may be set "
2702-
"to None.")
2697+
raise ValueError("Invalid 'check_params' argument.")
27032698

27042699
def is_bounded_0_1(self, params=None):
27052700
return self._bounded_0_1(params)

0 commit comments

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