I am trying to put a border around a subheader of my plotly graph. I am trying the code below which works for my font size but itโs not working for a border. Any one have any tips?
fig.update_layout(
title=f'<span style="font-size: 20px">{title}</span>'
f'<br><span style="font-size:16px; border:solid black;"><b>Mean:</b> {y.mean():.2f} <b>Median:</b> {y.median():.2f} '
f'<b>Standard Deviation:</b> {y.std():.2f}</span>')