Update the view.
fig (dict[str, plotly_types.Data | plotly_types.Layout]) – A dictionary representing a plotly figure