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