center title of figure plotly code example Example: how to center plotly plot title fig.update_layout(title_text='Your title', title_x=0.5)