Fix warning in plot_view_as_blocks

This commit is contained in:
Johannes Schönberger
2016-01-31 18:39:40 +01:00
parent a7685738c9
commit 976ac85e45
@@ -25,7 +25,7 @@ from skimage.util.shape import view_as_blocks
# -- get `astronaut` from skimage.data in grayscale
l = color.rgb2gray(data.astronaut())
l = np.ascontiguousarray(color.rgb2gray(data.astronaut()))
# -- size of blocks
block_shape = (4, 4)