Plotly AttributeError: 'Figure' object has no attribute 'update_layout'
I found this issue in a Juan Klopper video. This is the wrong method call:
fig1.update_layout()
The correct way to update the figure layout is to call:
fig1.layout.update()