AttributeError: Module 'librosa' Has No Attribute 'display' Site:stackoverflow.com

[Solved] AttributeError: Module 'librosa' Has No Attribute 'display' Site:stackoverflow.com | Python - Code Explorer | yomemimo.com
Question : AttributeError: module 'librosa' has no attribute 'display' site:stackoverflow.com

Answered by : saeed-p2pjup3rwuvf

# just import the display
import librosa.display
plt.figure(figsize=(12, 4))
librosa.display.waveplot(data, sr=sampling_rate)

Source : | Last Update : Mon, 25 Jan 21

Answers related to AttributeError: module 'librosa' has no attribute 'display' site:stackoverflow.com

Code Explorer Popular Question For Python