mirror of
https://github.com/wassname/scikit-image.git
synced 2026-06-30 10:52:15 +08:00
BUG: fix side-effect in util.montage()
This commit is contained in:
committed by
Stefan van der Walt
parent
5996854435
commit
96d90438d8
@@ -71,6 +71,8 @@ def montage2d(arr_in, fill='mean', rescale_intensity=False):
|
||||
assert arr_in.ndim == 3
|
||||
|
||||
n_images, height, width = arr_in.shape
|
||||
|
||||
arr_in = arr_in.copy()
|
||||
|
||||
# -- rescale intensity if necessary
|
||||
if rescale_intensity:
|
||||
|
||||
Reference in New Issue
Block a user