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'})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions