Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7007c5c

Browse filesBrowse files
authored
Merge pull request #23881 from oscargus/pillowversionhandling
Fix Pillow compatibility in example
2 parents 4487c70 + 45c569c commit 7007c5c
Copy full SHA for 7007c5c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎tutorials/introductory/images.py

Copy file name to clipboardExpand all lines: tutorials/introductory/images.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@
245245
from PIL import Image
246246

247247
img = Image.open('../../doc/_static/stinkbug.png')
248-
img.thumbnail((64, 64), Image.Resampling.LANCZOS) # resizes image in-place
248+
img.thumbnail((64, 64)) # resizes image in-place
249249
imgplot = plt.imshow(img)
250250

251251
###############################################################################

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.