mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-29 11:26:57 +08:00
DOC: add docstring for deprecation
This commit is contained in:
@@ -100,6 +100,9 @@ from skimage._shared.utils import deprecated
|
||||
|
||||
@deprecated('hough_line')
|
||||
def hough(img, theta=None):
|
||||
"""
|
||||
This function is deprecated. Use `hough_line` instead.
|
||||
"""
|
||||
return hough_line(img, theta)
|
||||
|
||||
from ._hough_transform import _hough_circle
|
||||
|
||||
Reference in New Issue
Block a user