def mean_line(x, **kwargs):
    ls = {"0":"--"}
    plt.axvline(mean(x), linestyle =ls[kwargs.get("label","0")], 
                color = kwargs.get("color", "brown"), linewidth=2)
    txkw = dict(size=12, color = kwargs.get("color", "brown"))
    plt.text(mean(x),0.03, "MEAN", **txkw)