jzaremba / guiqwt

Automatically exported from code.google.com/p/guiqwt
Other
0 stars 1 forks source link

ImageItem should accept int64 and uint64 dtypes #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If I do ImageItem.set_data(foo) where foo is a numpy array with dtype=int64, I 
get the following exception:

TypeError: src data type must be one of the following: double, float, uint32, 
int32, uint16, int16, uint8, int8, bool

It would be nice if int64 and uint64 are also accepted.

Original issue reported on code.google.com by cpasc...@cells.es on 11 Feb 2013 at 10:53