Live example Text before data = go.Scatter(x=[1, 2, 3, 4], y=[4, 3, 2, 1]) layout = go.Layout(title="hello world") Text after