How do you copy a plotly figure object in order to make a few changes but keep the same basic structure for other plots?
The following raises an Attribute error:
Code:
fig2=fig1.copy()
Error:
AttributeError: 'Figure' object has no attribute 'copy'
And of course fig2=fig1 will not help because both names will point to the same object.


