import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np img = mpimg.imread('../_static/stinkbug.png') lum_img = img[:,:,0] imgplot = plt.imshow(lum_img) imgplot.set_cmap('hot')
import matplotlib.pyplot as plt import matplotlib.image as mpimg import numpy as np img = mpimg.imread('../_static/stinkbug.png') lum_img = img[:,:,0] imgplot = plt.imshow(lum_img) imgplot.set_cmap('hot')