1import plotly.graph_objects as go
2
3# Add data
4month = ['January', 'February', 'March', 'April', 'May', 'June', 'July',
5 'August', 'September', 'October', 'November', 'December']
6
7high_2014 = [28.8, 28.5, 37.0, 56.8, 69.7, 79.7, 78.5, 77.8, 74.1, 62.6, 45.3, 39.9]
8
9fig = go.Figure()
10# Create and style traces
11fig.add_trace(go.Scatter(x=month, y=high_2014, name='High 2014'))
12
13# Edit the layout
14fig.update_layout(title='<b>Title</b>',
15 xaxis_title='<b>x</b>',
16 yaxis_title='<b>y</b>')
17
18
19fig.show()