Skip to content

Multiple instances affect eachother in a breaking way #28

@SumNeuron

Description

@SumNeuron

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions