def _setAxLabelsFontsize(ax, fontsize):
    """Change the font size of the axis labels
    """
    for item in ([ax.title, ax.xaxis.label, ax.yaxis.label] + ax.
        get_xticklabels() + ax.get_yticklabels()):
        item.set_fontsize(fontsize)
