Can be done using `layer='below'` for the shape definition. https://community.plot.ly/t/draw-shapes-behind-plot/7091 Bar opacity should also be lowered so line is visible