Replace text.fontsize with font.size to be compatible with matplotlib 1.4.2+.