How to draw braces/brackets for a plot?

I would like to draw these braces for my barplot on its left-hand side. I appreciate it if anyone can help me with this. I didn’t find it on Potly, and when I wanted to use Matplotlib braces, I couldn’t integrate it with Plotly.

left2

You could try to work with shapes; however, I don’t know whether you can draw these kind of braces with them. Have a look here for shapes > Shape positioning in categorical grouped bar chart

Thanks for your reply, I think that it is difficult to make clean shapes with mouse