Parameters.set_param(*args, **kwargs)[source]#

For each param=value keyword argument, sets the corresponding parameter of this object or class to the given value.

For backwards compatibility, also accepts set_param(“param”,value) for a single parameter value using positional arguments, but the keyword interface is preferred because it is more compact and can set multiple values.

Deprecated since version 1.12.0: Use instead .param.update