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.
1 parent 46a04c6 commit 3f8939cCopy full SHA for 3f8939c
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