8000 Merge branch 'v1.5.1-doc' into v1.5.x · matplotlib/matplotlib@250251b · GitHub
[go: up one dir, main page]

Skip to content

Commit 250251b

Browse files
committed
Merge branch 'v1.5.1-doc' into v1.5.x
2 parents 6405839 + 1e55809 commit 250251b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/_static/boxplot_explanation.png

35.9 KB
Loading

doc/users/image_tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ the image.
340340

341341
In [16]: from PIL import Image
342342
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
344344
In [19]: imgplot = plt.imshow(img)
345345

346346
.. plot::
@@ -358,7 +358,7 @@ Let's try some others:
358358

359359
.. sourcecode:: ipython
360360

361-
In [20]: imgplot = plt.imshow(resized, interpolation="nearest")
361+
In [20]: imgplot = plt.imshow(img, interpolation="nearest")
362362

363363
.. plot::
364364

@@ -370,7 +370,7 @@ Let's try some others:
370370

371371
.. sourcecode:: ipython
372372

373-
In [21]: imgplot = plt.imshow(resized, interpolation="bicubic")
373+
In [21]: imgplot = plt.imshow(img, interpolation="bicubic")
374374

375375
.. plot::
376376

0 commit comments

Comments
 (0)
0