Commit Graph

197 Commits

Author SHA1 Message Date
Robert Lutz 0c879ba551 [MRG+1] Fix: Replace pylab with matplotlib.pyplot #6754 (#6762)
* Fix: Replace pylab with matplotlib.pyplot #6754

 - one instance of 22 occurrences of pylab replaced with matplotlib.pyplot
 - bench_glm.py now free of pylab references
 - code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- one instance of 21 remaining occurrences of pylab replaced with
    matplotlib.pyplot
- bench_glmnet.py now free of pylab references
- code does not execute for extraneous reason: ImportError: No module named
    glmnet.elastic_net

* Fix: Replace pylab with matplotlib.pyplot #6754

- one instance of 19 occurrences of pylab replaced with matplotlib.pyplot
- bench_lasso.py now free of pylab references
- code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- one instance of 18 occurrences of pylab replaced with matplotlib.pyplot
- bench_plot_neighbors.py now free of pylab references
- code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- one instance of 17 occurrences of pylab replaced with matplotlib.pyplot
- bench_plot_omp_lars.py now free of pylab references
- code does not execute for extraneous reasons:
    - File "bench_plot_omp_lars.py", line 111, in <module>
    - ax = fig.add_subplot(1, 2, i)
    - ValueError: num must be 1 <= num <= 2, not 0
    - line 111 should probably be ax = fig.add_subplot(1, 2, i+1)

* Fix: Replace pylab with matplotlib.pyplot #6754

- bench_plot_parallel_pairwise.py now free of pylab references
- code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- bench_plot_ward.py now free of pylab references
- code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- bench_sgd_regression.py now free of pylab references
- code executes properly

* Fix: Replace pylab with matplotlib.pyplot #6754

- bench_tree.py now free of pylab references
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_glm.py clean

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_glm.py clean of pl
- code does not execute for extraneous reasons

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_lasso.py clean of pl
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_plot_neighbors.py clean of pl
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_plot_omp_lars.py clean of pl
- code does not execute for extraneous reasons

* fix: Fix bug that prevented graphs from displaying

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_plot_parallel_pairwise.py clean of pl
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_plot_ward.py clean of pl
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_sgd_regression.py clean of pl
- code executes properly

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- bench_tree.py clean of pl
- code executes properly

* docs: removed pylab references from comments

* docs: removed all pylab references

- replaced with matplotlib.pyplot
- pl --> plt

* docs: removed pylab references from comments

- replaced with matplotlib.pyplot
- pl --> plt

* docs: removed all pylab references

- replaced with matplotlib.pyplot
- pl --> plt

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- mlcomp_sparse_document_classification.py clean of pl

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- plot_gpr_noisy_targets.py clean of pl
- code does not execute for extraneous reasons
  - File "examples/gaussian_process/plot_gpr_noisy_targets.py", line 31, in
      <module>
  - from sklearn.gaussian_process import GaussianProcessRegressor
  - ImportError: cannot import name GaussianProcessRegressor

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- plot_gpc_isoprobability.py clean of pl
- code does not execute for extraneous reasons
  - File "examples/gaussian_process/plot_gpc_isoprobability.py", line 24, in
      <module>
  - from sklearn.gaussian_process import GaussianProcessClassifier
  - ImportError: cannot import name GaussianProcessClassifier

* docs: removed all pylab references

- replaced with matplotlib.pyplot
- pl --> plt

* docs: removed all pylab references

- replaced with matplotlib.pyplot

* refactor: Replace pl with plt

- replace instances of pl (as on import pylab as pl)
  with plt (as in import matplotlib.pyplot as plt)
- plot_sparse_coding.py clean of pl
- code executes properly

* docs: removed all pylab references

- replaced with matplotlib.pyplot

* docs: removed all pylab references

- replaced with matplotlib.pyplot

* style: Indent properly

* style: indent properly

* style: Indent properly

* docs: Add missing .pyplot

* docs: Fix typo

* style: Indent properly
2016-05-10 11:34:33 +02:00
Rémy Léone 9b7176dd9d [DOC] Fix broken links 2016-03-23 12:45:34 -07:00
giorgiop 328ebfa865 ENH RandomizedPCA collapsed into PCA 2016-03-11 09:10:37 +11: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
Andreas Mueller 5b1aca08c2 MAINT Don't use deprecated 1d X (or deprecated matplotlib stuff) in examples. 2015-12-10 12:11:48 -05:00
hlin117 c6d6170148 #5766: Removed unused code from plotting tutorial 2015-11-12 10:16:10 -06:00
Raghav R V f67e911124 DOC Modify documentation/examples for the new model_selection module 2015-10-29 16:49:23 +01:00
johannah 0c29002b30 Added colorblind compatibility 2015-10-26 20:46:48 +01:00
TomDLT ceeef70037 ENH refactor NMF and add CD solver 2015-09-21 11:42:07 +02:00
Vinayak Mehta 679936f6bc MAINT Deprecate LDA/QDA in favor of expanded names
The LDA accronym for Linear Discriminant Analysis is ambiguous
because of the newly introduced Latent Dirichlet Allocation model.

We therefore deprecate the sklearn.lda.LDA and sklearn.lda.QDA
in favor of explicit names.
2015-09-11 15:32:11 +02:00
Mathieu Blondel d341dac18d Remove shebang and utf-8 header. 2015-08-11 02:24:11 +09:00
Mathieu Blondel 0586070499 chmod -x 2015-08-11 02:15:44 +09:00
Arthur Mensch fead69a4ac Bugfix : type in cd changed for read only memmap compatibility 2015-07-31 12:12:40 +02:00
Andreas Mueller 891b8417c9 DOC remove linewidth in pca/ica example 2015-06-11 13:25:36 -04:00
Ali Baharev b1348bbc14 Typo: PCA is not the abbreviation of Probablisitic 2015-03-30 22:17:39 +02:00
Javier López Peña 8537b212f9 Fix example in plot_pca_3d.py (color array had wrong size) 2014-11-29 15:11:36 +00:00
Kyle Kastner 5f8271f60c Updated what's new to add IncrementalPCA 2014-09-23 10:14:45 -04:00
Kyle Kastner b2d6a30aeb IncrementalPCA implementation 2014-09-22 13:12:29 -04:00
Andreas Mueller 5b247f90e4 move around examples for better structure. 2014-07-17 09:35:30 +02:00
bwignall 9bee5b4d2f CLN: Capitalize "Dirichlet" and "Mexican" in example docstrings 2014-06-01 17:43:21 -04: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 cca6fc7e8b Some more examples updated to use matplotlib.pyplot 2014-05-16 09:42:02 +05:30
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
Joel Nothman dbc26ce996 COSMIT remove unused imports and variables 2014-02-03 19:43:56 +11:00
dengemann 2843ee19e9 manual subplots adjust
manual subplots adjust
2013-12-02 13:10:00 +01:00
dengemann 925aa1ee5e Improve wording + COSMITS II 2013-12-02 11:46:35 +01:00
dengemann f3c09df70c Improve wording + COSMITS 2013-12-02 11:44:53 +01:00
dengemann efe5294b00 COSMIT 2013-12-02 09:52:42 +01:00
dengemann 05188ef984 ICA vs PCA barrier free + fixed 2013-12-02 09:39:15 +01:00
dengemann d990ad9d42 address duscssion 2 + expose modern API 2013-12-02 09:10:30 +01:00
dengemann 2b1863bb7b address duscssion 2013-12-02 09:05:03 +01:00
dengemann 93f2a9acf7 COSMIT 2013-12-02 01:04:20 +01:00
dengemann c0259847b4 ENH: color scheme + add PCA 2013-12-02 01:02:11 +01:00
Alexandre Gramfort 101f0eed4c ENH : better shrinkage range for ShrunkCovariance 2013-10-25 17:49:06 +02:00
dengemann 4516bf5f96 COSMITS 2013-10-25 14:49:40 +02:00
dengemann 4f3722c38c ENH: improve FA vs PCA example 2013-10-25 14:38:44 +02:00
Alexandre Gramfort 915a58ba64 avoid zip + topic in doc 2013-09-06 08:51:06 +02:00
Alexandre Gramfort ab015af18e pimp example 2013-09-05 21:50:28 +02:00
Alexandre Gramfort 7d83cf33ac API : add score_samples in FactorAnalysis + update example 2013-09-05 21:41:45 +02:00
Alexandre Gramfort c1ad0c76f3 pep8 + misc 2013-09-05 21:40:27 +02:00
Alexandre Gramfort d024326999 ENH : add PCA+FA model selection example 2013-09-05 21:39:58 +02: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
Andreas Mueller 26eb3c606f DOC/EXAMPLES fix more documentation errors, deprecated api usages. 2013-07-28 15:01:48 +02:00
Jaques Grobler 30c08d4533 Merge pull request #2017 from jaquesgrobler/ENH_docstrings_in_gallery
MRG: Google-images style effect for Example Gallery
2013-07-24 02:26:10 -07:00
Alexandre Gramfort 91f588b0ab update ICA examples 2013-07-23 15:49:29 +02:00
Jaques Grobler 65cce1b43c fix merge conflict 2013-07-22 16:20:31 +02:00
Jaques Grobler cbfe851751 example fixes to clean first docstring paragraph of rst code 2013-07-22 15:48:44 +02:00