Curly brackets under x-axis portions - PyPlot

I am wondering how to add curly brackets under different portions of the x-axis using PyPlot.

I would also like to attach a word to each of the curly brackets.