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
Dimitri Papadopoulos Orfanos
5f6e17c084
MNT Remove #!/usr/bin/python shebang in examples ( #21246 )
2021-10-14 18:51:09 +02:00
Thomas J. Fan
70a185ae59
MAINT Enable and run black on examples ( #20502 )
2021-10-07 10:13:00 +02:00
Thomas J. Fan
7cc0177f8e
MNT Replaces numpy alias with builtin typse ( #17687 )
...
* MNT Replaces numpy alias with builtin typse
* STY Lint error
2020-06-24 16:51:51 +02:00
tobycheese
da415db476
DOC remove unnecessary line ( #9504 )
2017-08-07 08:48:07 +10:00
Loïc Estève
1bb8826fd2
Fix pdf doc generation
...
Use 4 plots instead of one so that unsupervised_learning.rst can show png separately.
Partially reverts #9030 . Minor changes for consistent labeling.
2017-06-26 14:13:20 +02: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
Rajat Khanduja
2244098532
Updated examples to use pyplot for plotting instead of pylab
...
Some examples not updated because scripts throw error (probably not
because of the change)
2014-05-15 02:18:07 +05:30
hendrik
8f94ae6d0f
PY3 fixed examples
2014-02-15 17:05:08 +01:00
Lars Buitinck
98b95ca711
DOC fix example comments
...
* @GaelVaroquaux's name was misspelled
* users won't know what a "Documentation merge" is
2013-07-30 12:41:56 +02:00
Robert Layton
dacfd8bd5d
DOC: Replaced all BSD style licenses with "BSD 3 clause"
...
Replaced all BSD style licenses with "BSD 3 clause"
Not checked yet!
Removed duplicate "3 clause, 3 clause"
Removed trailing period if exists
Fixed some missed licences, still about 50 to do, but those can be automated
Think I got the last of them.
Apparently me and sed have different ideas of regex.
Found a few more
2013-04-30 08:34:46 +02:00
Lars Buitinck
837093df7f
P3K: use print as a function in the examples
...
Also corrected some typos, including two people misspelling their own names :)
2013-02-01 15:04:42 +01:00
Andreas Mueller
38b455d541
Cosmit pep8
2012-12-25 13:16:05 +01:00
Andreas Mueller
713ba6006e
COSMIT pep8
2012-09-04 17:24:01 +01:00
Andreas Mueller
8199bfd348
ENH fixed ``n_cluster`` to ``n_clusters`` in examples. Thanks @agramfort
2012-05-30 07:41:35 +02:00
Andreas Mueller
d9a6243c98
ENH rename k in clustering examples and doctests to n_clusters
2012-05-30 07:41:34 +02:00
Andreas Mueller
645db95737
ENH adjusted examples to new matplotlib 1.1.1
2012-05-05 20:43:21 +02:00
Andreas Mueller
dcc1c7431c
COSMIT + MISC pep8, pyflakes, typos and some other cleanup of examples.
2012-04-29 23:13:06 +02:00
Jaques Grobler
30150cfdef
Merged some examples into examples folder.
...
- updated links accordingly
- renamed miss-spelt excercice to exercise
2012-03-06 23:40:49 +01:00