add coffee picture from flickr

This commit is contained in:
François Boulogne
2013-07-07 00:38:06 +02:00
parent e5e0c73755
commit 4f0c4f0306
3 changed files with 20 additions and 0 deletions
+15
View File
@@ -184,3 +184,18 @@ def chelsea():
"""
return load("chelsea.png")
def coffee():
"""Coffee cup.
An example with several shapes (including an ellipse). The background
is composed of stripes.
Notes
-----
This image was downloaded on
`Flickr <https://secure.flickr.com/photos/free-stock/4999821195/sizes/o/in/photostream/>`__
No copyright restrictions.
"""
return load("coffee.png")
Binary file not shown.

After

Width:  |  Height:  |  Size: 299 KiB

+5
View File
@@ -44,6 +44,11 @@ def test_chelsea():
data.chelsea()
def test_coffee():
""" Test that "coffee" image can be loaded. """
data.coffee()
if __name__ == "__main__":
from numpy.testing import run_module_suite
run_module_suite()