Skip to content

Centering the Chart Title #31

Description

@s2t2

In the Dataviz Overview chapter, or in a separate chapter about chart customization options, let's provide an example of centering the chart title. This is a common question from students.

fig.update_layout(title={'text': your_title_here, 'x':0.5, 'xanchor': 'center'})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions