Skip to content

Commit 9664424

Browse files
author
Laura Murphy
committed
Update 02-applying-filters.md
Adding plt before imshow in dogs and logs exercise
1 parent 7f2e86d commit 9664424

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

episodes/02-applying-filters.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ image = cells3d()[30, 1, :, :]
215215
plt.figure(figsize=(10, 12))
216216

217217
plt.subplot(2, 2, 1)
218-
imshow(image)
218+
plt.imshow(image)
219219
plt.title('Original')
220220

221221
plt.subplot(2, 2, 2)
222-
imshow(difference_of_gaussians(image, 1, 2), cmap='gray')
222+
plt.imshow(difference_of_gaussians(image, 1, 2), cmap='gray')
223223
plt.title('Difference of Gaussians')
224224

225225
plt.subplot(2, 2, 3)
226-
imshow(laplace(gaussian(image, sigma=2)), cmap='gray')
226+
plt.imshow(laplace(gaussian(image, sigma=2)), cmap='gray')
227227
plt.title('Laplacian of Gaussian')
228228
```
229229

0 commit comments

Comments
 (0)