Matplotlib - Image Display
Which of the following is the correct syntax to display an image stored in variable
img using matplotlib?img using matplotlib?plt.imshow() is the correct function to display image arrays.plt.image() and plt.show(img) are invalid; plt.plot() is for line plots.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions