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 38d0326 + 3f8939c commit bce3b3aCopy full SHA for bce3b3a
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