mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-30 11:41:38 +08:00
Merge pull request #1206 from tonysyu/fix/canny-deprecation
Fix deprecation of canny function
This commit is contained in:
commit
dbab977535
1 file changed
+1
-1
@@ -19,7 +19,7 @@ denoise_tv_chambolle = deprecated('skimage.restoration.denoise_tv_chambolle')\
|
||||
(restoration.denoise_tv_chambolle)
|
||||
|
||||
# Backward compatibility v<0.11
|
||||
@deprecated
|
||||
@deprecated('skimage.feature.canny')
|
||||
def canny(*args, **kwargs):
|
||||
# Hack to avoid circular import
|
||||
from skimage.feature._canny import canny as canny_
|
||||
|
||||
Reference in new issue
Block a user