Skip to content

Commit 113d110

Browse files
committed
matching copying methods
1 parent 55c8866 commit 113d110

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

episodes/03-skimage-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ also because `imageio.imread` sometimes returns a non-writeable image.
403403

404404
```python
405405
sudoku = iio.imread(uri="data/sudoku.png", mode="L")
406-
sudoku_gray_background = sudoku.copy()
406+
sudoku_gray_background = np.array(sudoku)
407407
```
408408

409409
Then change all bright pixel values greater than 192 to 192:

0 commit comments

Comments
 (0)