How to show border around the entire Plotly figure?

How to show border around the entire Plotly figure? One likely way is to set border for the “div” around the figure, but is that possible to show the border of the figure itself?

Thanks,

Josh

1 Like

One way is to add border to style property of graph element(or add className and do the same in css).
There you can specify color, thickness and line_style of your border along with rounding some/all corners and adding shadows if you wish.