Skip to content

Commit 2dfbf27

Browse files
committed
bug for add_trace! method
1 parent 58b7be0 commit 2dfbf27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/display.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ end
184184

185185
function add_trace!(p::SyncPlot, trace::GenericTrace; kw...)
186186
add_trace!(p.plot, trace; kw...)
187-
send_command(p.scope, :addTraces, trace)
187+
send_command(p.scope, :react, p.plot.data, p.plot.layout)
188188
end
189189

190190

0 commit comments

Comments
 (0)