Skip to content

Commit 4b1a80e

Browse files
qinhanmin2014thomasjpfan
authored andcommitted
DOC Some updates for new plotting API (scikit-learn#14598)
1 parent ede933d commit 4b1a80e

File tree

3 files changed

+28
-10
lines changed

3 files changed

+28
-10
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ scikit-learn requires:
5555
**Scikit-learn 0.20 was the last version to support Python 2.7 and Python 3.4.**
5656
scikit-learn 0.21 and later require Python 3.5 or newer.
5757

58-
Scikit-learn plotting capabilities (i.e., functions start with "plot_") require
59-
Matplotlib (>= 1.5.1). For running the examples Matplotlib >= 1.5.1 is
60-
required. A few examples require scikit-image >= 0.12.3, a few examples require
61-
pandas >= 0.18.0.
58+
Scikit-learn plotting capabilities (i.e., functions start with "plot_"
59+
and classes end with "Display") require Matplotlib (>= 1.5.1). For running the
60+
examples Matplotlib >= 1.5.1 is required. A few examples require
61+
scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.
6262

6363
User installation
6464
~~~~~~~~~~~~~~~~~

doc/install.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Scikit-learn requires:
2222
- SciPy (>= 0.17.0)
2323
- joblib (>= 0.11)
2424

25-
Scikit-learn plotting capabilities (i.e., functions start with "plot_") require
26-
Matplotlib (>= 1.5.1). For running the examples Matplotlib >= 1.5.1 is
27-
required. A few examples require scikit-image >= 0.12.3, a few examples require
28-
pandas >= 0.18.0.
25+
Scikit-learn plotting capabilities (i.e., functions start with "plot_"
26+
and classes end with "Display") require Matplotlib (>= 1.5.1). For running the
27+
examples Matplotlib >= 1.5.1 is required. A few examples require
28+
scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.
2929

3030
.. warning::
3131

doc/modules/classes.rst

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -658,8 +658,17 @@ Kernels:
658658

659659
inspection.partial_dependence
660660
inspection.permutation_importance
661-
inspection.plot_partial_dependence
662661

662+
Plotting
663+
--------
664+
665+
.. currentmodule:: sklearn
666+
667+
.. autosummary::
668+
:toctree: generated/
669+
:template: function.rst
670+
671+
inspection.plot_partial_dependence
663672

664673
.. _isotonic_ref:
665674

@@ -1455,9 +1464,18 @@ Low-level methods
14551464
:template: function.rst
14561465

14571466
tree.export_graphviz
1458-
tree.plot_tree
14591467
tree.export_text
14601468

1469+
Plotting
1470+
--------
1471+
1472+
.. currentmodule:: sklearn
1473+
1474+
.. autosummary::
1475+
:toctree: generated/
1476+
:template: function.rst
1477+
1478+
tree.plot_tree
14611479

14621480
.. _utils_ref:
14631481

0 commit comments

Comments
 (0)