human
Adding Colorbar to a Spectrogram
assistant
Here is some code to add color bar with image `mappable` to plot `plt`

plt.colorbar(mappable=mappable, cax=ax3)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.