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

Is it possible to add a colored edge to the figure, not just around the plot?

I managed to achieve this plot:


by using the following command :

fig.update_xaxes(showline=True, linewidth=1, linecolor=‘black’, mirror=True)
fig.update_yaxes(showline=True, linewidth=1, linecolor=‘black’, mirror=True)

But I would like the black line to be around the entire figure, not just around the plot. Is this possible?