Update plot.py
The new ImageItem.scale() (from pyqtgraph) no longer accepts any arguments
This commit is contained in:
parent
625ba9d698
commit
59dcb4db7f
@ -311,7 +311,7 @@ class WaterfallPlotWidget:
|
||||
# Create waterfall image on first run
|
||||
if self.counter == 1:
|
||||
self.waterfallImg = pg.ImageItem()
|
||||
self.waterfallImg.scale((data_storage.x[-1] - data_storage.x[0]) / len(data_storage.x), 1)
|
||||
self.waterfallImg.scale()
|
||||
self.plot.clear()
|
||||
self.plot.addItem(self.waterfallImg)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user