Commit Graph

12 Commits

Author SHA1 Message Date
Dimitri Papadopoulos Orfanos d4d5f8c7e0
MAINT consistent use of `print(__doc__)` in examples (#21307)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
2021-10-22 15:33:22 +02:00
Thomas J. Fan 70a185ae59
MAINT Enable and run black on examples (#20502) 2021-10-07 10:13:00 +02:00
surgan12 62d2059804 MNT remove __future__ imports (#12791) 2019-02-02 22:05:06 +08:00
Andreas Mueller 0b8d362545 [MRG] Examples deprecations (#11561) 2018-07-17 00:08:04 -05:00
Hanmin Qin 6f7394953b EXA avoid use of matplotlib.cm.spectral which has been removed (#10764) 2018-03-07 16:49:45 +11:00
Aarshay Jain 1d4e18a1a7 [MRG + 1] 10 more examples fixed with matplotlib 2.0 updates (#9030)
* examples/covariance/plot_outlier_detection.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_silhouette_analysis.py - matplotlib2.0 update

* examples/cluster/plot_birch_vs_minibatchkmeans.py - matplotlib2.0 + pep8 fix

* examples/cluster/plot_cluster_iris.py - matplotlib2.0 update

* examples/cluster/plot_agglomerative_clustering.py - matplotlib2.0 update

* examples/cluster/plot_ward_structured_vs_unstructured.py - matplotlib2.0 update

* examples/cluster/plot_kmeans_assumptions.py - matplotlib2.0 update

* examples/classification/plot_lda_qda.py - matplotlib2.0 + pep8 fix

* examples/calibration/plot_calibration.py - matplotlib2.0 update

* examples/plot_johnson_lindenstrauss_bound.py - matplotlib2.0 update

* flake8 changes

* reversing changes for plot_kmeans_assumptions & plot_agglomerative_clustering

* cluster/plot_cluster_iris.py - major fixes

* examples/cluster/plot_cluster_iris.py - flake8 fix

* examples/cluster/plot_cluster_iris.py - 3d projection error fix

* cluster/plot_cluster_iris.py - elevation and azimuth setting
2017-06-21 16:04:53 +02:00
seales 0485ada58b General spelling fixes 2015-12-16 09:46:42 -08:00
Loïc Estève 7b24628421 DOC python 3 fix in plot_kmeans_silhouette_analysis.py 2015-02-18 16:24:41 +01:00
Raghav R V 444bf22736 DOC ENH Simplify the example code; Add plots for n_clusters = 3 and 5 2015-01-20 06:02:25 +05:30
Raghav R V ae95a0c2e9 DOC ENH Remove the vertical x = 0 line and plot avg silhouette score line 2015-01-16 23:48:20 +05:30
Raghav R V f04266a7c2 DOC ENH Fill the silhouette with the corresponding cluster color
PEP8 Minor PEP8 Fixes too.
2015-01-16 23:48:20 +05:30
Raghav R V b5b1c5993f DOC Add silhouette analysis plot for KMeans 2015-01-16 23:48:20 +05:30