self.imh.setImage(data.astype(float),autoLevels=True,autoDownsample=True)
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\pyqtgraph\graphicsItems\ImageItem.py", line 411, in paint
self.render()
File "C:\ProgramData\Anaconda3\lib\site-packages\pyqtgraph\graphicsItems\ImageItem.py", line 403, in render
argb, alpha = fn.makeARGB(image, lut=lut, levels=levels)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyqtgraph\functions.py", line 1013, in makeARGB
data = rescaleData(data, scale/(maxVal-minVal), minVal, dtype=dtype)
File "C:\ProgramData\Anaconda3\lib\site-packages\pyqtgraph\functions.py", line 877, in rescaleData
d2 = np.clip(d2, lim.min, lim.max)
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 1958, in clip
return _wrapfunc(a, 'clip', a_min, a_max, out=out)
File "C:\ProgramData\Anaconda3\lib\site-packages\numpy\core\fromnumeric.py", line 56, in _wrapfunc
return getattr(obj, method)(*args, **kwds)
MemoryError
MemoryError indicates you're out of memory for some reason, so the traceback may not be all that helpful in determining why it's happening (np.clip may just happen to be where numpy tried to allocate some memory and failed). A more complete example that reproduces the error would be helpful, but I understand if that's not feasible (problem may go away outside the context of the bigger application). Any additional information on the structure of your program and how you're generating data would be useful in figuring out what's going on. It also couldn't hurt to have the output of `conda list` as well.