mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-09 11:33:41 +08:00
Rename and deprecate filter module to prevent shadowing of built-in keyword
This commit is contained in:
@@ -109,7 +109,7 @@ find an elevation map using the Sobel gradient of the image.
|
||||
|
||||
"""
|
||||
|
||||
from skimage.filter import sobel
|
||||
from skimage.filters import sobel
|
||||
|
||||
elevation_map = sobel(coins)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user