mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-12 20:08:57 +08:00
Rename and deprecate filter module to prevent shadowing of built-in keyword
This commit is contained in:
@@ -14,7 +14,7 @@ import numpy as np
|
||||
from scipy import ndimage as nd
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
from skimage.filter import sobel
|
||||
from skimage.filters import sobel
|
||||
from skimage.segmentation import slic, join_segmentations
|
||||
from skimage.morphology import watershed
|
||||
from skimage.color import label2rgb
|
||||
|
||||
Reference in New Issue
Block a user