Decorator for handling Numpy errors.
**kwargs (dict, optional) – Keywords arguments.
object
References
[]
Examples
>>> import numpy >>> @handle_numpy_errors(all='ignore') ... def f(): ... 1 / numpy.zeros(3) >>> f()