Skip to content

Commit c7acc36

Browse files
anntzermelissawm
authored andcommitted
Backport PR matplotlib#23881: Fix Pillow compatibility in example
1 parent c4039ba commit c7acc36

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tutorials/introductory/images.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,10 +228,14 @@
228228

229229
img = Image.open('../../doc/_static/stinkbug.png')
230230
<<<<<<< HEAD
231+
<<<<<<< HEAD
231232
img.thumbnail((64, 64)) # resizes image in-place
232233
=======
233234
img.thumbnail((64, 64), Image.Resampling.LANCZOS) # resizes image in-place
234235
>>>>>>> f51659f024 (Backport PR #23855: DOC: fix deprecation warnings (#23858))
236+
=======
237+
img.thumbnail((64, 64)) # resizes image in-place
238+
>>>>>>> 3f8939c070 (Backport PR #23881: Fix Pillow compatibility in example)
235239
imgplot = plt.imshow(img)
236240

237241
###############################################################################

0 commit comments

Comments
 (0)