mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-12 12:50:49 +08:00
Add deprecation warning to 'data.lena()'
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user