You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
Bug found during manual tests on win10 py3qt5 Jul19 release:
How to reproduce
Execute:
taurus tpg trend "eval:Q(rand(),'mm')"
Right click menu -> Plot Options -> Transforms -> Power Spectrum (FFT)
Traceback (most recent call last):
File "c:\miniconda\envs\py3qt5\lib\site-packages\taurus\qt\qtgui\base\taurusbase.py", line 394, in filterEvent
self.handleEvent(*evt)
File "c:\miniconda\envs\py3qt5\lib\site-packages\taurus_pyqtgraph\taurustrendset.py", line 269, in handleEvent
self._addData(xValues, yValues)
File "c:\miniconda\envs\py3qt5\lib\site-packages\taurus_pyqtgraph\taurustrendset.py", line 251, in _addData
curve.setData(x=x, y=y[:, i])
File "c:\miniconda\envs\py3qt5\lib\site-packages\pyqtgraph\graphicsItems\PlotDataItem.py", line 461, in setData
self.updateItems()
File "c:\miniconda\envs\py3qt5\lib\site-packages\pyqtgraph\graphicsItems\PlotDataItem.py", line 483, in updateItems
x,y = self.getData()
File "c:\miniconda\envs\py3qt5\lib\site-packages\pyqtgraph\graphicsItems\PlotDataItem.py", line 525, in getData
x,y = self._fourierTransform(x, y)
File "c:\miniconda\envs\py3qt5\lib\site-packages\pyqtgraph\graphicsItems\PlotDataItem.py", line 683, in _fourierTransform
y = abs(f[1:len(f)/2])
TypeError: slice indices must be integers or None or have an __index__ method
The text was updated successfully, but these errors were encountered:
Bug found during manual tests on win10 py3qt5 Jul19 release:
How to reproduce
Execute:
Right click menu -> Plot Options -> Transforms -> Power Spectrum (FFT)
The text was updated successfully, but these errors were encountered: