Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4487c70 + 45c569c commit 7007c5cCopy full SHA for 7007c5c
1 file changed
tutorials/introductory/images.py
@@ -245,7 +245,7 @@
245
from PIL import Image
246
247
img = Image.open('../../doc/_static/stinkbug.png')
248
-img.thumbnail((64, 64), Image.Resampling.LANCZOS) # resizes image in-place
+img.thumbnail((64, 64)) # resizes image in-place
249
imgplot = plt.imshow(img)
250
251
###############################################################################
0 commit comments