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?