I copied the code exactly and my spectrum plot isn't showing anything. I am getting "...\site-packages\pyqtgraph\graphicsItems\PlotDataItem.py:531: RuntimeWarning: divide by zero encountered in log10 x = np.log10(x)" in red but the program still runs. Please help its urgent thank you.