imshow() vs show()
Title
Question
<span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 12.8px;">what is the difference between plt.imshow() and plt.show() ? why do we need to use both to display the image?.</span>
Python-3.4.3 Image-manipulation-using-Arrays 04-05 min 30-40 sec
Answers:
Dear User,
The imshow() function in pyplot module of matplotlib library is used to display data as an image.
The show() function in pyplot module of matplotlib library is used to display all figures.
Login to add comment