Commit Graph

22 Commits

Author SHA1 Message Date
Thomas J Fan 4d749ea490 CLN Uses public API instead of deprecated modules in examples (#15390) 2019-10-29 10:59:02 +08:00
Andreas Mueller 0b8d362545 [MRG] Examples deprecations (#11561) 2018-07-17 00:08:04 -05:00
Aarshay Jain 6986e9b5db [MRG + 1] 18 more examples with matplotlib 2.0 updates (#8983)
* updated plot_label_propagation_versus_svm_iris.py plot

* updated svm/plot_weighted_samples.py plot

* made semi_supervised/plot_label_propagation_versus_svm_iris.py pep8 compliant

* modified tree/plot_tree_regression.py [size and edgecolor]

* updated tree/plot_tree_regression_multioutput.py [size+color]

* fixed examples/semi_supervised/plot_label_propagation_versus_svm_iris.py for backward compatibility

* neural_networks/plot_mlp_alpha.py - matplotlib2 update

* examples/neural_networks/plot_mlp_alpha.py - pep8 fix

* examples/neighbors/plot_nearest_centroid.py - matplotlib2.0 + pep8 fix

* neighbors/plot_classification.py - matplotlib2.0 + pep8 fix

* examples/neighbors/plot_lof.py - matplotlib2.0 update

* examples/model_selection/plot_underfitting_overfitting.py - matplotlib2.0 + pep8

* examples/mixture/plot_concentration_prior.py - matplotlib2.0 + pep8

* examples/linear_model/plot_logistic_multinomial.py - matplotlib2.0 update

* linear_model/plot_sgd_iris.py - matplotlib2.0 + pep8 fix

* examples/linear_model/plot_sgd_weighted_samples.py - matplotlib2.0 + pep8

* examples/linear_model/plot_sgd_separating_hyperplane.py - matplotlib2.0 update

* examples/feature_selection/plot_permutation_test_for_classification.py - matplotlib + pe8

* examples/linear_model/plot_bayesian_ridge.py - matplotlib2.0 update

* examples/feature_selection/plot_feature_selection.py - matplotlib2.0 update

* examples/feature_selection/plot_f_test_vs_mi.py - matplotlib2.0 + pep8

* examples/feature_selection/plot_f_test_vs_mi.py - matplotlib2.0+ pep8 fix

* examples/model_selection/plot_underfitting_overfitting.py - error fixed

* blue -> black edgecolor fix for 2 examples
2017-06-07 13:23:12 +02:00
Gael Varoquaux 1837224751 Merge pull request #6613 from nelson-liu/correct_license_spelling
[MRG+1] DOC: fix spellings of 'license'
2016-06-15 13:58:59 +02:00
Saiwing Yeung c5fd5cbb7e DOC: fixed typos and one style issue in plot examples
The comment in a few example plots refer to "the mesh [x_min, m_max] x
[y_min, y_max]" when it should be "x_max".

Also fixed the spacing in plot_random_forest_embedding.py `[x_min,
x_max] x [y_min, y_max]` to `[x_min, x_max]x[y_min, y_max]` to comply
with the coding style of other files with similar code (like those in
the current pull request).
2016-04-25 11:59:40 +08: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
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 e749771faa MISC don't use ``set_cmap`` 2012-05-05 20:43:21 +02:00
Andreas Mueller 645db95737 ENH adjusted examples to new matplotlib 1.1.1 2012-05-05 20:43:21 +02:00
GaelVaroquaux adc5201a16 COSMIT: authorship and licensing info 2012-02-02 10:55:32 +01:00
Clay Woolam 268aed6b42 TL directory change to push label propagation code into semi_supervised 2012-01-22 21:13:56 -08:00
Clay Woolam 213f0a21c2 shuffled digits example, added sensible point colors to plot chart,
removed fix for unsupported numpy api
2012-01-22 18:42:36 -08:00
Clay Woolam 3fb76f3eb6 corrected example that still refered to unlabeled_identifier 2012-01-21 14:42:44 -08:00
Alexandre Gramfort efddf2aa4f STY: mostly style + avoid a zip in favor of an np.argsort 2011-09-14 22:06:35 -04:00
clay woolam 472cf5b0e4 fixed examples for new naming scheme 2011-09-04 19:23:45 -07:00
clay woolam 4fd0a3ce79 optimized _build_graph with inplace methods, conform to standards with variable names 2011-09-01 19:05:17 -07:00
vene 67d185e638 DOC: clarified example titles 2011-08-23 19:03:01 +03:00
Clay Woolam 84090fc268 fixed bug in tests causing gram matrix construction to not work properly (assumed casts to floats) 2011-08-16 15:12:46 -07:00
Clay Woolam 2a7af09e77 conformance to pep8 2011-08-16 13:51:52 -07:00
Clay Woolam 208a70e280 added semi_supervised directory 2011-08-13 17:17:26 -07:00