Commit Graph

14 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
Loïc Estève 3aefc834dc MNT CI Fix for sphinx-gallery 0.3.1 + 404 errors on Debian Jessie packages (#13527)
* Fix for sphinx-gallery 0.3.1.

Figure numbering have been changed to ignore matplotlib figure number.

* Use circleci/3.6 image.

This docker image uses Debian stretch and fixes the problems seen with apt-get update with Debian jessie.

* Install additional fonts.

Seems to be needed to convert doc/images/iris.svg.

* Another missed example using figure number 0.

[doc build]
2019-03-27 16:01:11 +01:00
Rishikesh d9b525ac6b [MRG+1] Modify gaussian_process examples for matplotlib v2 comp (#8394)
* Modify plot_gpc_xor.py for matplotlib v2 comp

Add edgecolors option in scatter plot

Issue: #8364

* Modify plot_gpr_noisy.py for matplotlib v2 comp

Add edgecolors option in scatter plot

Issue: #8364

* Modify plot_gpr_prior_posterior for matplotlibv2

Add edgecolors attribute in scatter plot

Issue: #8364

* Modify plot_gpc.py for matplotlib v2 comp

Add edgecolors attribute in scatter plot.

Issue: #8364

* Modify plot_gpr_noisy.py to remove flake8 error

Modify file to pass travis build

* Cosmetic change in plot_gpr_prior_posterior

Reduce `alpha` for better plot.

Issue: #8364

* Modify plot_gpr_noisy.py for better visualization

Modify colorbar in contour plot.

Issue: #8364
2017-06-19 21:17:15 +02:00
Perrine Letellier eaf97bf4ea colorbar doesn't handle label parameter 2015-10-20 13:32:24 +02:00
Jan Hendrik Metzen e2a340a4ee REF More meaningful names for hyperparameters of GP kernels 2015-10-19 18:07:14 +02:00
Jan Hendrik Metzen bcd4b72897 REFACTOR Remove theta_ attribute from GPR and GPC
It can be accessed instead via kernel_.theta
2015-10-19 18:07:11 +02:00
Jan Hendrik Metzen 41cbb29176 DOCAdapting GP examples to changed hyperparameter representation 2015-10-19 18:07:11 +02:00
Jan Hendrik Metzen d26c355374 DOC Adding documentation for GP kernels 2015-10-19 18:07:11 +02:00
Jan Hendrik Metzen a9a884d5b2 DOC Revised plot_gpc example 2015-10-19 18:07:11 +02:00
Jan Hendrik Metzen 82ec208c65 DOC Adapted GP examples to changes in kernel module 2015-10-19 18:07:10 +02:00
Jan Hendrik Metzen ff92bc9bd3 FIX Adapted examples and tests to GPC.predict_proba() adapted return shape 2015-10-19 18:04:56 +02:00
Jan Hendrik Metzen 27bd525c96 DOC Reorganizing gaussian_process examples 2015-10-19 18:04:56 +02:00