Add deprecation warning to 'data.lena()'

This commit is contained in:
Sergio Pascual
2016-01-08 00:05:45 +01:00
parent 8f2839e1b3
commit c6c8ff9359
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -10,6 +10,7 @@ import os as _os
from .. import data_dir
from ..io import imread, use_plugin
from .._shared.utils import deprecated
from ._binary_blobs import binary_blobs
__all__ = ['load',
@@ -56,6 +57,7 @@ def camera():
return load("camera.png")
@deprecated()
def lena():
"""Colour "Lena" image.