在Python中可视化音高和节奏

Is there any python library to visualize the pitch and rhythm of the sound. Like this paper's Figure 3? I read this doc but it doesn't seem the thing I want.