Commit Graph

20 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
Thomas J Fan 4d749ea490 CLN Uses public API instead of deprecated modules in examples (#15390) 2019-10-29 10:59:02 +08:00
Adrin Jalali 69c8967e21 DOC Fix warnings in examples (#12654)
Fixe or suppresses many warnings in examples, including matplotlib complaining about the non-gui backend.
2019-01-17 21:41:13 +11:00
Andreas Mueller 9b5561148f [MRG] Figure improvements (#9648)
* Example plots render poorly in dev

* flake8 + bias_variance

* title padding

* misc ensemble variance plotting

don't use rcParams to set size of a single figure,
put legend outside of plot

* semisupervised plotting fixes

use explicit kwargs in subplots_adjust, change hspace, don't change aspect ratio of imshow.
2017-09-01 10:29:05 +02:00
Michael Dezube 1b0ec1bf4f DOC Fixing a bug where entropy included labeled items (#8150) 2017-01-29 07:35:15 +11:00
Nelson Liu d2aaf0f4bb doc: fix spellings of 'license' 2016-03-31 17:25:31 -07: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
Peter Prettenhofer f1dee6eb08 fix: add missing str formatting operator 2013-05-31 09:31:23 +02:00
Stefano Lattarini 67ece78da4 COSMIT various typofixes
As suggested by codespell <https://github.com/lucasdemarchi/codespell>

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-11 21:22:14 +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
Immanuel Bayer b32fc9c791 ENH renaming 'max_iters' to 'max_iter' for consistency 2012-11-04 10:01:12 +00:00
Andreas Mueller 29a302afe1 COSMIT pep8 2012-02-11 13:46:25 +01:00
GaelVaroquaux adc5201a16 COSMIT: authorship and licensing info 2012-02-02 10:55:32 +01:00
GaelVaroquaux e4dc6a7291 DOC: improve the label_propagation docs 2012-02-02 10:50:39 +01:00
clay woolam a31e639cfd rennamed active learning example so it won't be run for doc compilation 2011-08-22 13:08:32 -07:00
Clay Woolam 2412daf1cc changed doc to remove long runningtime warning 2011-08-18 09:58:28 -07:00
Clay Woolam 18dea8ac0a heavily downsampled digits examples (runtime a few seconds now) and removed supporess_warrnging bug 2011-08-18 09:57:19 -07:00
Clay Woolam a3dc4e7f7a added two new examples, including an active learning demo with label propagation 2011-08-17 13:16:24 -07:00