Skip to content

Commit 4ff6de8

Browse files
DOC Note down matplotlib dependency in README.rst (#14322)
1 parent cad1de2 commit 4ff6de8

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

README.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,13 @@ scikit-learn requires:
5252
- SciPy (>= 0.17.0)
5353
- joblib (>= 0.11)
5454

55-
**Scikit-learn 0.20 was the last version to support Python 2.7.**
55+
**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-
For running the examples Matplotlib >= 1.5.1 is required. A few examples
59-
require scikit-image >= 0.12.3, a few examples require pandas >= 0.18.0.
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.
6062

6163
scikit-learn also uses CBLAS, the C interface to the Basic Linear Algebra
6264
Subprograms library. scikit-learn comes with a reference implementation, but

doc/install.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Scikit-learn requires:
2323
- joblib (>= 0.11)
2424

2525
Scikit-learn plotting capabilities (i.e., functions start with "plot_") require
26-
Matplotlib (>= 1.5.1). Some of the scikit-learn examples might require one or
27-
more extra dependencies: scikit-image (>= 0.12.3), pandas (>= 0.18.0).
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.
2829

2930
.. warning::
3031

0 commit comments

Comments
 (0)