8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c74ca21 + 7a8ed34 commit 6b74c57Copy full SHA for 6b74c57
doc/users/image_tutorial.rst
@@ -337,7 +337,7 @@ and the computer has to draw in pixels to fill that space.
337
In [9]: img = Image.open('stinkbug.png') # Open image as PIL image object
338
In [10]: rsize = img.resize((img.size[0]/10,img.size[1]/10)) # Use PIL to resize
339
In [11]: rsizeArr = np.asarray(rsize) # Get array back
340
- In [12]: imgplot = mpimg.imshow(rsizeArr)
+ In [12]: imgplot = plt.imshow(rsizeArr)
341
342
.. plot::
343
0 commit comments