Open
Description
The correct method of using react! is
react!(fig, fig.plot.data, fig.plot.layout)
but I found that using
react!(fig.plot, fig.plot.data, fig.plot.layout)
does not have a method error. And also using redraw! doesn't update the plot.
The following is the code I used for the test:
using PlotlyJS
x = [1, 2, 3]
y = [1, 4, 7]
tr = scatter(x=x, y=y,)
fig = plot(tr)
# change data
fig.plot.data[1][:y][3] = 0 # == y[3] = 0
react!(fig.plot, fig.plot.data, fig.plot.layout) # not correct, but no error text in the terminal
redraw!(fig) # also does not update the plot
display(fig)
Metadata
Metadata
Assignees
Labels
No labels