Plotly Stepped Line Plot Math Definition