mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
Split scipy.ndimage & spatial into different lines
This improves the readability of the import code and is in line with PEP8 recommendations.
This commit is contained in:
@@ -2,7 +2,8 @@ import six
|
||||
import math
|
||||
import warnings
|
||||
import numpy as np
|
||||
from scipy import ndimage as ndi, spatial
|
||||
from scipy import spatial
|
||||
from scipy import ndimage as ndi
|
||||
|
||||
from .._shared.utils import get_bound_method_class, safe_as_int
|
||||
from ..util import img_as_float
|
||||
|
||||
Reference in New Issue
Block a user