Merge pull request #1866 from sergiopasra/deprecate-lena

Add deprecation warning to `data.lena`
This commit is contained in:
Stefan van der Walt
2016-01-13 06:45:49 -08:00
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -13,6 +13,7 @@ Version 0.14
parameters `(dist, theta)`, LineModelND has the more general parameters
`(origin, direction)`.
* Remove deprecated old syntax support for ``skimage.transform.integrate``.
* Remove deprecated ``skimage.data.lena`` and corresponding data files.
Version 0.13
@@ -34,7 +35,6 @@ Version 0.13
_shared/interpolation.pyx, transform/_geometric.py, and transform/_warps.py
Version 0.12
------------
* Change `label` to mark background as 0, not -1, which is consistent with
+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('skimage.data.astronaut')
def lena():
"""Colour "Lena" image.