PlotlyJS.jl icon indicating copy to clipboard operation
PlotlyJS.jl copied to clipboard

hbox(p1,p2) emits StackOverflowError

Open bjarthur opened this issue 5 years ago • 6 comments
trafficstars

is it not possible to create an interactive graphic with two plots? one button and one plot works, but not two plots.

julia> using Interact, Mux, PlotlyJS, WebIO

julia> b = button()

julia> p1 = plot(rand(10));

julia> p2 = plot(rand(10));

julia> ui = hbox(p1,b);     ### this works

julia> ui = hbox(p1,p2)    ### this does not
ERROR: StackOverflowError:

julia> WebIO.webio_serve(page("/", req -> ui), 5006)

bjarthur avatar Feb 19 '20 22:02 bjarthur

Interesting, Is hbox from Interact.jl? If so, perhaps we can ping someone from there to help with the discussion

sglyon avatar Feb 20 '20 21:02 sglyon

@shashi @piever hbox does not work with two plotly plots. should it?

bjarthur avatar Feb 21 '20 14:02 bjarthur

Yes it should, it's a bug.

shashi avatar Feb 22 '20 20:02 shashi

Do you know if the the bug is on my end or in Interact.jl?

sglyon avatar Feb 23 '20 05:02 sglyon

should i file in issue with Interact.jl, or does this one suffice?

bjarthur avatar Mar 07 '20 16:03 bjarthur

Opening one in Interact.jl would be good!

shashi avatar Mar 07 '20 21:03 shashi