✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Continuos error band for lineplot

Hi,
I am usually dealing with data that I would like to plot with a continuous band that represents the standard deviation of each categorical sample repetition. Similar to what seaborn does when plotting a value that has repeated samples on each category (image below). So far I have been adding error bars manually by computing the std and adding it as an extra column before using plotly-express.

It would be great if there is a way to include the continuos error bars by using plotly express and without having to resort to manually adding the bands by using fill ErrorBars, which I find very cumbersome, specially when dealing with several categorical values.

Is there already a way to do this? Or is there a plan to implement it?

image

I solved it temporarily by creating a custom method that handles the error band for repeated samples in the same way as seaborn.