Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG Raise exception for invalid input
Arrays of non-uint8 types were assumed to be in 0..1 range. When this was not true and integer values were used, only the low-order bits were used, resulting in a mangled image. Now, an explicit exception is raised. Closes issue matplotlib#2499
- Loading branch information