-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem to show waterfall data on Kali Linux #103
Comments
scaling still required for me. I've found the following modification to apply a transform works. in plot.py, import # Create waterfall image on first run
if self.counter == 1:
self.waterfallImg = pg.ImageItem()
tr = QtGui.QTransform()
scale_x = (data_storage.x[-1] - data_storage.x[0]) / len(data_storage.x)
tr.scale(scale_x, 1)
#self.waterfallImg.scale((data_storage.x[-1] - data_storage.x[0]) / len(data_storage.x), 1)
self.waterfallImg.setTransform(tr)
self.plot.clear()
self.plot.addItem(self.waterfallImg) |
@ianmorti |
@ianmorti Maybe it makes sense to create PR? :) |
That patch did the trick! This issue has been driving me crazy (MBP M1 Max) - - thank you so much! Hoping to see it get added in a future revision. |
This adjustment of plot.py also fixed the same issue for me on windows. @ianmorti you deserve a nobel prize |
can confirm this works <3 |
Patch by Ian Mortimer @ianmorti
All seems running fine on Kali Linux (Debian 5.19.11-1kali2 (2022-10-10) x86_64 GNU/Linux) but before get the waterfall workingg I get this error:
If I can change the function call in line 289 with no parameters then I don't get any error and I think is working well. My simple test:
The text was updated successfully, but these errors were encountered: