Use logo instead of horse for RGBA img

This commit is contained in:
François Boulogne
2016-07-17 14:15:13 +02:00
parent 449bd445fc
commit 5e159dc218
2 changed files with 2 additions and 2 deletions
@@ -50,7 +50,7 @@ background is realized with :func:`rgba2rgb` ::
>>> from skimage.color import rgba2rgb
>>> from skimage import data
>>> img_rgba = data.horse()
>>> img_rgba = data.logo()
>>> img_rgb = rgba2rgb(img_rgba)
Conversion between color and gray values
+1 -1
View File
@@ -200,7 +200,7 @@ def rgba2rgb(rgba, background=(1, 1, 1)):
--------
>>> from skimage import color
>>> from skimage import data
>>> img_rgba = data.horse()
>>> img_rgba = data.logo()
>>> img_rgb = color.rgba2rgb(img_rgba)
"""
arr = _prepare_rgba_array(rgba)