def METHOD_NAME(
    fig, df, x, y_name, err_name, color_name, xtitle, ytitle, title, copyright=None
):
    """
    Adds the traces for the provided X vs Y with ERR around Y.
    """
    color = colors[color_name]
    fig.add_trace(
        go.Scatter(
            name=y_name,
            x=x,
            y=df[y_name],
            mode="lines",
            line=dict(color=f"rgb({color[0]}, {color[1]}, {color[2]})"),
        )
    )
    fig.add_trace(
        go.Scatter(
            name=f"+{y_name}",
            x=x,
            y=df[y_name] + df[err_name],
            mode="lines",
            marker=dict(
                color=f"rgb({int(color[0]*0.85)}, {int(color[1]*0.85)}, {int(color[2]*0.85)})"
            ),
            line=dict(width=0),
            showlegend=False,
        )
    )
    fig.add_trace(
        go.Scatter(
            name=f"-{y_name}",
            x=x,
            y=df[y_name] - df[err_name],
            marker=dict(
                color=f"rgb({int(color[0]*0.85)}, {int(color[1]*0.85)}, {int(color[2]*0.85)})"
            ),
            line=dict(width=0),
            mode="lines",
            fillcolor=f"rgba({color[0]}, {color[1]}, {color[1]}, 0.3)",
            fill="tonexty",
            showlegend=False,
        )
    )
    finalize_plot(fig, title, xtitle, ytitle, copyright)