✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚾️ It's finally Baseball season! Root for the home team... & Register for our Sports Analytics Webinar!

Customizing plot title color and/or font

Is it possible to customize a plot title color and/or font?

For instance, if my plot title is ‘Crosby 87’ I would like ‘Crosby’ to be just normal text but ‘87’ to be either bold or a given color.

I found my answer here https://stackoverflow.com/questions/46512682/how-to-set-the-bold-font-style-in-plotly

Basically just go with html code and surround 87 with the bold tag :

layout = go.Layout(title='Crosby <b>87</b> ')