Skip to content

Commit 604f45d

Browse files
JeremyPikemkcor
andauthored
display side by side
Co-authored-by: Marianne Corvellec <marianne.corvellec@ens-lyon.org>
1 parent 113d110 commit 604f45d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

episodes/03-skimage-images.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,9 @@ Finally, display the original and modified images. Note that we have to specify
416416

417417
```python
418418
fig, ax = plt.subplots()
419-
plt.imshow(sudoku, cmap="gray", vmin=0, vmax=255)
420-
fig, ax = plt.subplots()
421-
plt.imshow(sudoku_gray_background, cmap="gray", vmin=0, vmax=255)
419+
fig, ax = plt.subplots(ncols=2)
420+
ax[0].imshow(sudoku, cmap="gray", vmin=0, vmax=255)
421+
ax[1].imshow(sudoku_gray_background, cmap="gray", vmin=0, vmax=255)
422422
```
423423

424424
:::::::::::::::::::::::::

0 commit comments

Comments
 (0)