diff --git a/sklearn/metrics/_plot/det_curve.py b/sklearn/metrics/_plot/det_curve.py index 92e84ce9b7974..5b881a2b0239f 100644 --- a/sklearn/metrics/_plot/det_curve.py +++ b/sklearn/metrics/_plot/det_curve.py @@ -370,18 +370,18 @@ def plot_det_curve( ): """Plot detection error tradeoff (DET) curve. - Extra keyword arguments will be passed to matplotlib's `plot`. - - Read more in the :ref:`User Guide `. - - .. versionadded:: 0.24 - .. deprecated:: 1.0 `plot_det_curve` is deprecated in 1.0 and will be removed in 1.2. Use one of the following class methods: :func:`~sklearn.metrics.DetCurveDisplay.from_predictions` or :func:`~sklearn.metrics.DetCurveDisplay.from_estimator`. + Extra keyword arguments will be passed to matplotlib's `plot`. + + Read more in the :ref:`User Guide `. + + .. versionadded:: 0.24 + Parameters ---------- estimator : estimator instance diff --git a/sklearn/tests/test_docstrings.py b/sklearn/tests/test_docstrings.py index bc4a85b559d41..069735136da2c 100644 --- a/sklearn/tests/test_docstrings.py +++ b/sklearn/tests/test_docstrings.py @@ -15,6 +15,8 @@ "sklearn.decomposition._dict_learning.dict_learning", "sklearn.externals._packaging.version.parse", "sklearn.inspection._plot.partial_dependence.plot_partial_dependence", + # sklearn.deprecation._update_doc is updating the doc against the numpydoc. + # This will be fixed with issue: #24328 "sklearn.metrics._plot.det_curve.plot_det_curve", "sklearn.metrics._plot.precision_recall_curve.plot_precision_recall_curve", "sklearn.metrics._ranking.dcg_score",