def METHOD_NAME(ax, title, loc=2, color="k", **kwargs):
    at = AnchoredText(title, loc=loc,
                      pad=0., borderpad=0.5, prop={"color": color},
                      frameon=False, **kwargs)
    ax.add_artist(at)
    return at