On Tue, Jul 19, 2016 at 7:41 AM, Tom Jordan <[email protected]> wrote:

>
> Traceback (most recent call last):
>   File
> "C:\apps\Anaconda3\lib\site-packages\pyqtgraph\graphicsItems\ImageItem.py",
> line 309, in paint
>     self.render()
>   File
> "C:\apps\Anaconda3\lib\site-packages\pyqtgraph\graphicsItems\ImageItem.py",
> line 301, in render
>     argb, alpha = fn.makeARGB(image.transpose((1, 0, 2)[:image.ndim]),
> lut=lut, levels=self.levels)
>   File "C:\apps\Anaconda3\lib\site-packages\pyqtgraph\functions.py", line
> 942, in makeARGB
>     data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=int)
>   File "C:\apps\Anaconda3\lib\site-packages\pyqtgraph\functions.py", line
> 828, in rescaleData
>     d2 *= scale
> TypeError: Cannot cast ufunc multiply output from dtype('float64') to
> dtype('uint8') with casting rule 'same_kind'
>
>
There was a recent API change in numpy that causes this error. It is
corrected in the develop branch on github.

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CACZXET8bxW_OhwtSkgvte6b-QNPBJX60nLAr1Wpj--EMnAeLTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to