✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🐇 Announcing Dash VTK for 3d simulation graphics. Check out the March webinar.

Draw shapes behind plot?

Is it possible to alter the draw order of the shape so that a shape is drawn below the plot elements? We have a horizontal baseline line that is sometimes overlayed over data, bar markups, etc.


It would be nice if we could make the bars semi-transparent and have the line pass behind them.

@rad Yes, you can give the position of shapes with respect to the trace plot,
inserting in the definition of each shape: layer='below'.