plot widget log mode x and y please workkkk

This commit is contained in:
tsi-billypom 2025-03-25 16:52:16 -04:00
parent 58d085fa75
commit d73fd32b42

View File

@ -392,6 +392,7 @@ class ApplicationWindow(QMainWindow, Ui_MainWindow):
self.clear_audio_visualization()
y = self.audio_visualizer.get_amplitudes()
x = [i for i in range(len(y))]
self.PlotWidget.setLogMode(True, True)
self.PlotWidget.plot(x, y, fillLevel=0, fillBrush=mkBrush("b"))
self.PlotWidget.show()