Skip to content
Prev Previous commit
Next Next commit
Changed exception message
  • Loading branch information
alvarosg committed Dec 14, 2016
commit a45f217988647ee49cf0ced78cb23f28dc295c03
7 changes: 1 addition & 6 deletions lib/matplotlib/cbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -2694,12 +2694,7 @@ def __init__(self, function, inverse, bounded_0_1=True, check_params=None):
elif callable(check_params):
self._check_params = check_params
else:
raise ValueError("Check params must be a callable taking a list "
"with function parameters and returning a "
"boolean indicating whether that combination of "
"parameters is valid. In case of validity for "
"any combination of parameters it may be set "
"to None.")
raise ValueError("Invalid 'check_params' argument.")

def is_bounded_0_1(self, params=None):
return self._bounded_0_1(params)
Expand Down