ENH xlim and ylim to axes of RocCurveDisplay and PrecisionRecallDisplay#26368
ENH xlim and ylim to axes of RocCurveDisplay and PrecisionRecallDisplay#26368mrastgoo wants to merge 1 commit intoscikit-learn:mainfrom
Conversation
|
With
The curve gets cropped, and not clearly distinguishable from the spines. I think we need at least |
|
Thanks for the PR, could you please document your change for version 1.3 under |
|
Looking at this PR and #26366, it seems that we need to merge PR together. It will simplify the code: By setting first x- and y-lim then, we can directly set the So let's close one of the 2 PRs and change slightly the scope.
We should indeed take care of the offset to apply. It might be dynamic in case we want the despine option or not. One thing sure, we want it as little as possible but we don't want to crop the line on the display. |
|
Closing in favor of #26356 |

Related to #25929
Adding xlim and ylim of (-0.001, 1.001) to the axes