When using the Plotly, I can set the title font in the layout part as follow.
titlefont=dict(size =14, color='black', family='Arial, sans-serif')
My question is How to set the font as Bold. Thanks
If you are using Python you can add the <b>
html tag to the title attribute and you are good.
You can add some more limited HTML styling such as italic as well, see example below.
import plotly
plotly.offline.init_notebook_mode()
data = [plotly.graph_objs.Bar(
x=['giraffes', 'orangutans', 'monkeys'],
y=[20, 14, 23]
)]
layout = go.Layout(title='<b>Bold</b> <i>animals</i>')
fig = plotly.graph_objs.Figure(data=data, layout=layout)
plotly.offline.iplot(fig)