I have two Plotly instances, which plot data after a button press (e.g. click button one, data for the first instance is plotted).
- plot 1 is a scatter plot
- plot 2 is a group violin plot
If I click the button for plot one, everything works fine. If I then click the button for plot two, however, the group violin mode of layout is updated in the internalLayout data of of plot one! Note, that each of these instances have separate data and layouts!
e.g.
<VuePlolty v-bind="propsOne" />
<VuePlolty v-bind="propsTwo" />
So how to get around this?