SyntaxFix
Write A Post
Hire A Developer
Questions
Use no interpolation and set to gray.
import matplotlib.pyplot as plt plt.imshow(img[:,:,1], cmap='gray',interpolation='none')