Audio-Spectrum-Analyzer-in-Python icon indicating copy to clipboard operation
Audio-Spectrum-Analyzer-in-Python copied to clipboard

RuntimeWarning: divide by zero encountered in log10 x = np.log10(x)

Open hoppi13 opened this issue 5 years ago • 1 comments

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.

hoppi13 avatar Apr 23 '20 19:04 hoppi13

Also, I am using python 3.7 and windows.

hoppi13 avatar Apr 23 '20 19:04 hoppi13