The docstring says X is ``(n_samples, n_features)`` but from what I can see the ``scipy_func`` needs a condensed distance matrix.