Commit Graph

26 Commits

Author SHA1 Message Date
Amar pratap singh 5a9b2ce0a7
DOC Update notebook-style for example plot_image_denoising (#22739) 2022-03-17 14:19:53 +01:00
Thomas J. Fan 1fc86b6aac
MNT Update black to stable version (#22474) 2022-02-15 11:36:26 +01:00
nastegiano eed85ce70c
Accelerate plot_image_denoising.py (#21799) 2021-12-06 14:45:22 +01:00
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 81dde3a6e5
STY Ensures that "flake8 ." works (#20298) 2021-06-18 15:46:40 +02:00
xinyuliu12 933f80a32d MAINT: reduce example execution time of plot_image_denoising.py (#13683) 2019-04-23 20:56:11 +02:00
plagree 1f6ac72df7 [MRG] DOC examples with correct notebook style (#9061)
* DOC examples with correct notebook style

* Modifications in examples/ to avoid unwanted notebook style

* Remove last notebook style example

* Space formatting to avoid notebook style
2017-06-20 14:48:57 +02:00
DOHMATOB Elvis f4b230cc65 BF: fixing error on plot_image_denoising.py with Python 2.7 (#9003) 2017-06-06 14:36:13 +02:00
Naoya Kanai bd0fc236e0 [MRG+1] MAINT drop SciPy < 0.13 (#8854)
Remove sklearn.utils.fixes functions that are not needed for scipy >= 0.13 and keep deprecated wrappers in other modules.
2017-06-02 23:36:33 +02:00
Nelson Liu fcfaa5fc37 Updated examples and tests that use scipy's lena
scipy.misc.lena will be removed in scipy version 0.17.
This changes the example to use scipy.misc.face instead.
2016-02-11 09:13:40 +01:00
toastedcornflakes 2ff9a4b39d Remove useless normalization — fixes #6075 2015-12-30 15:02:57 +01:00
Arthur Mensch fead69a4ac Bugfix : type in cd changed for read only memmap compatibility 2015-07-31 12:12:40 +02:00
bwignall 34fc4d4214 CLN: Capitalize "Gaussian" in example docstrings 2014-06-01 16:53:23 -04:00
Olivier Grisel 1a05e6d3f7 FIX: euclidean divide in plot_image_denoising.py for Py3 support 2014-05-23 13:33:13 +02:00
Rajat Khanduja 5e20b8c664 Fixed pep8 violations. Some 'line too long' errors still remain. 2014-05-15 09:23:16 +05:30
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
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +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
GaelVaroquaux 69e3554c8e MISC: wording of doc/comments in example 2012-11-13 09:42:31 +01:00
Immanuel Bayer ca8a8eb66a ENH renaming 'n_atoms' to 'n_components' for consistency 2012-11-04 10:01:13 +00:00
Alexandre Gramfort 3f330f2967 STY : pep8 2011-12-20 15:34:17 +01:00
Vlad Niculae bb03e8a85e Adapted examples for alpha scaling 2011-12-20 11:17:38 +01:00
Vlad Niculae e9a6567f77 Fixed lena in example 2011-12-07 21:16:04 +02:00
vene 77a0ec3878 s/img_denoising/image_denoising 2011-09-19 12:43:51 +03:00