A Plotly figure (go.Figure) is made up of data (data, a list of traces) and a layout (layout). Plotly Express produces this structure, which you can then modify with update_layout and update_traces or build directly with graph_objects. It is described in JSON.
Example
fig.update_layout(title='Sales', xaxis_title='Month')