spectralpython / spectral

Python module for hyperspectral image processing
MIT License
563 stars 138 forks source link

Update graphics.py #127

Closed wwlswj closed 2 years ago

wwlswj commented 2 years ago

Generally, the variable "bands" is an array, and the "not" judgment does not apply to arrays (Use "any()" or "all()" operation for array judgment). The "not" judgment should be corrected to "is" judgment to solve this compatibility problem.