pyqt5 function calls cause "argument 1 has unexpected type 'float'" errors using Python 3.10. This is apparently caused by depreciated implicit conversion after python 3.10. Replacing the code below eliminates the errors.
MyCombo.py line 73: self.control.setCurrentIndex(int(self.index))
Waterfall.py line 65: self.colors.append(QColor.fromHsv(int(h),255,int(cn)))
FFTDisp.py line 254: qp.drawText(int(x-ssz),self.dh-16,s)
pyqt5 function calls cause "argument 1 has unexpected type 'float'" errors using Python 3.10. This is apparently caused by depreciated implicit conversion after python 3.10. Replacing the code below eliminates the errors.
MyCombo.py line 73: self.control.setCurrentIndex(int(self.index))
Waterfall.py line 65: self.colors.append(QColor.fromHsv(int(h),255,int(cn)))
FFTDisp.py line 254: qp.drawText(int(x-ssz),self.dh-16,s)