mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-30 13:40:44 +08:00
unwrap: PEP8 fixes.
This commit is contained in:
1 parent
3ddd94a89c
commit
e0b7fe32a1
1 file changed
+2
-2
@@ -63,10 +63,10 @@ def unwrap(image, wrap_around=False):
|
||||
|
||||
if image.ndim == 2:
|
||||
unwrap_2d(image_not_masked, mask, image_unwrapped,
|
||||
wrap_around)
|
||||
wrap_around)
|
||||
elif image.ndim == 3:
|
||||
unwrap_3d(image_not_masked, mask, image_unwrapped,
|
||||
wrap_around)
|
||||
wrap_around)
|
||||
|
||||
if np.ma.isMaskedArray(image):
|
||||
return np.ma.array(image_unwrapped, mask=mask)
|
||||
|
||||
Reference in new issue
Block a user