spectralpython / spectral

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

Too few colors on cube sides in view_cube #26

Closed tboggs closed 9 years ago

tboggs commented 9 years ago

Only a few, discrete colors are displayed on the side of the cube now. This is due to commit d54d13f75bbe79b945a4fca75fba8f5a800df66e , which changed the default ColorScale to only use the given colors (i.e., no interpolation). This can be fixed by creating a new color scale in HypercubeWindow.load_textures that uses 256 colors, which is what the previous default color scale used to provide.