Answers for "how to plot grayscale image in matplotlib"

3

plt.imshow grayscale

plt.imshow(arr, cmap='gray', vmin=0, vmax=255)
Posted by: Guest on May-17-2020
3

imshow grayscale

plt.imshow(im, cmap='gray')
Posted by: Guest on July-31-2020

Code answers related to "how to plot grayscale image in matplotlib"

Python Answers by Framework

Browse Popular Code Answers by Language