Multiple color in title text

Hi @dataturnsmeon

As @jlfsjunior suggested you can use HTML to have separate styled substrings with the <span> tag.

fig.update_layout(
    title_text="Plot Title: <span style='color:red'>Sub title in Red</span>"
)

11 Likes