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:
@@ -23,7 +23,7 @@ import matplotlib.pyplot as plt
|
||||
|
||||
from skimage import data
|
||||
from skimage.morphology import disk
|
||||
from skimage.filter import rank
|
||||
from skimage.filters import rank
|
||||
|
||||
|
||||
image = (data.coins()).astype(np.uint16) * 16
|
||||
|
||||
Reference in New Issue
Block a user