pop#

ParamDict1D.pop(key, default=<opti_extensions._param_dicts._RAISE_KEYERROR object>, /)[source]#

Remove the specified key and return it’s parameter value, or the default if not found.

Parameters:
keykey
defaultint or float, optional
Returns:
int or float or default
Raises:
KeyError

If key not found in the ParamDict.