File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ the image.
340
340
341
341
In [16]: from PIL import Image
342
342
In [17]: img = Image.open('../_static/stinkbug.png')
343
- In [18]: resized = img.thumbnail((64, 64), Image.ANTIALIAS) # resizes image in-place
343
+ In [18]: img.thumbnail((64, 64), Image.ANTIALIAS) # resizes image in-place
344
344
In [19]: imgplot = plt.imshow(img)
345
345
346
346
.. plot ::
@@ -358,7 +358,7 @@ Let's try some others:
358
358
359
359
.. sourcecode :: ipython
360
360
361
- In [20]: imgplot = plt.imshow(resized , interpolation="nearest")
361
+ In [20]: imgplot = plt.imshow(img , interpolation="nearest")
362
362
363
363
.. plot ::
364
364
@@ -370,7 +370,7 @@ Let's try some others:
370
370
371
371
.. sourcecode :: ipython
372
372
373
- In [21]: imgplot = plt.imshow(resized , interpolation="bicubic")
373
+ In [21]: imgplot = plt.imshow(img , interpolation="bicubic")
374
374
375
375
.. plot ::
376
376
You can’t perform that action at this time.
0 commit comments