find_peaks threshold must be scalar (scikit-image) [skip ci]