Commit Graph

17 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 7cc0177f8e
MNT Replaces numpy alias with builtin typse (#17687)
* MNT Replaces numpy alias with builtin typse

* STY Lint error
2020-06-24 16:51:51 +02: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
Aarshay Jain a74d31a339 ENH 13 more examples fixed with matplotlib 2.0 (#9029) 2017-06-28 14:56:27 +02:00
Aman Dalmia 13cc121b30 [MRG] Remove DeprecationWarnings in examples due to using floats instead of ints (#8040) 2017-02-03 15:21:03 +01: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
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
Roy Hyunjin Han d43e8e7536 Update examples/exercises/plot_iris_exercise.py 2012-05-02 16:29:29 -03:00
Andreas Mueller 958cfbe131 COSMIT cleanup + pep8 in examples 2012-04-27 22:59:58 +02:00
Jaques Grobler 1890d6eefa fixed typo,changed 2.2s numbering, fixed 4 examples in exercises 2012-03-12 10:19:01 +01:00
Jaques Grobler 7f155e9d1a moved exercises into seperate folder, neating up 2012-03-09 16:07:50 +01:00