grayscale

Display image as grayscale using matplotlib

Display image as grayscale using matplotlib Question: I’m trying to display a grayscale image using matplotlib.pyplot.imshow(). My problem is that the grayscale image is displayed as a colormap. I need it to be grayscale because I want to draw on top of the image with color. I read in the image and convert to grayscale …

Total answers: 9