Can you use

```
    fps, tps, thresholds = _binary_clf_curve(y_true, probas_pred, 
                                             sample_weight=sample_weight)
```
?