@cosine(w=0.03)
def update(step):
    if playing:
        r2.data_source.data["y"] = y * step
        r2.glyph.line_alpha = 1 - 0.8 * abs(step)
dataset/ETHPy150Open bokeh/bokeh/examples/plotting/server/line_animate_widget.py/update/original