diff --git a/tutorials/introductory/images.py b/tutorials/introductory/images.py index 236bc3b4bac2..e1e1a9e82d39 100644 --- a/tutorials/introductory/images.py +++ b/tutorials/introductory/images.py @@ -245,7 +245,7 @@ from PIL import Image img = Image.open('../../doc/_static/stinkbug.png') -img.thumbnail((64, 64), Image.Resampling.LANCZOS) # resizes image in-place +img.thumbnail((64, 64)) # resizes image in-place imgplot = plt.imshow(img) ###############################################################################