spectralpython / spectral

Python module for hyperspectral image processing
MIT License
571 stars 139 forks source link

cmap keyword ignored for monochrome images #99

Closed tboggs closed 4 years ago

tboggs commented 4 years ago

The "cmap" keyword given to spy.imshow should be passed on to matplotlib's imshow function but is not. It appears that when a monochrome image (or single band) is given to spy.imshow, a single band from the generated RGB array should be selected here.