Black Lives Matter. Please consider donating to Black Girls Code today.

Is there an add_ribbon function in Python?

Hello everyone,

I’ve worked with Plotly in both R and Python environments. I know that in R there’s an easy way to add confidence intervals to line graphs using add_ribbon(), but I can’t seem to find any examples of this in Python… Does anyone know if there’s an easy function like this in Python’s plotly library? I know that you can use fill “tozerox”/“tonexty” and all that stuff, but I was hoping there’d be a nice easy ribbony way.

Thanks!