Heatmap as a spectrogram

Does anyone have any example for spectrogram using heatmap ?