8000 fix mpimg.imshow to plt.imshow in doc example · matplotlib/matplotlib@2b5409b · GitHub
[go: up one dir, main page]

Skip to content

Commit 2b5409b

Browse files
committed
fix mpimg.imshow to plt.imshow in doc example
1 parent 6e5950d commit 2b5409b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/users/image_tutorial.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ This is array slicing. You can read more in the `Numpy tutorial <http://www.sci
181181

182182
.. sourcecode:: ipython
183183

184-
In [7]: imgplot = mpimg.imshow(lum_img)
184+
In [7]: imgplot = plt.imshow(lum_img)
185185

186186
.. plot::
187187

0 commit comments

Comments
 (0)
0