For the docstring I recommend:

Minimum number of samples between 2 events (default is 1). If a difference
between successive events is below this value, an exception will be raised.
In this case, increase the value of min_duration.