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 250251b

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

File tree

Expand file treeCollapse file tree

2 files changed

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

2 files changed

+3
-3
lines changed

‎doc/_static/boxplot_explanation.png

Copy file name to clipboard
35.9 KB
Loading

‎doc/users/image_tutorial.rst

Copy file name to clipboardExpand all lines: doc/users/image_tutorial.rst
+3-3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.