setdefault#
- ParamDict1D.setdefault(key, default, /)#
Get the parameter value for the specified key, or the default if not found.
If the key is not found, insert it with the parameter value of default in the ParamDict.
- Parameters:
- keykey
- defaultint or float
- Returns:
- int or float