saving . . . saved imshow() vs show() has been deleted. imshow() vs show() has been hidden .
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 29-03-23, 7:46 p.m. AL

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.
18-07-23, 5:57 p.m. Spokenuser


Log-in to answer to this question.