You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running the notebooks using Python 3.11 and the latest numpy version 1.25.0.
Line 599 in thinkdsp.py is causing an AttributeError exception to be thrown in spectrogram.plot
array = np.zeros(size, dtype=np.float)
The exception is complaining that np.float has been deprecated from numpy and that just 'float' alone should be used. I found this in other places in the file but this was the first one that was invoked. To fix this, I edited thinkdsp.py to make the changes. Once that was done, the entire notebook ran to completion.
The text was updated successfully, but these errors were encountered:
I am running the notebooks using Python 3.11 and the latest numpy version 1.25.0.
Line 599 in thinkdsp.py is causing an AttributeError exception to be thrown in spectrogram.plot
array = np.zeros(size, dtype=np.float)
The exception is complaining that np.float has been deprecated from numpy and that just 'float' alone should be used. I found this in other places in the file but this was the first one that was invoked. To fix this, I edited thinkdsp.py to make the changes. Once that was done, the entire notebook ran to completion.
The text was updated successfully, but these errors were encountered: