You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 17, 2020. It is now read-only.
I have been playing around with InteractNext and WebIO. One issue that I have come across in Juno is that the slider width becomes imperceptibly small when I use vbox.
using DifferentialEquations
using Plots
using InteractNext
using WebIO
using CSSUtil
ode =@reaction_network Test begin
p, 0--> x
d, x -->0end p d
functionplot_sim(ode, p::Vector{Float64})
prob =ODEProblem(ode, fill(0., length(ode.syms)), (0.,10.), p)
sol =solve(prob)
plot(sol)
end
sliders = [slider(0.1:0.01:1, label="$p") for p in ode.params]
iplot =map((x...)->plot_sim(ode, collect(x)), observe.(sliders)...)
ui =vbox(sliders..., iplot)
I have tried playing with CSSUtils directly:
using Measures
container(map(CSSUtil.render, sliders))(style("display"=>"flex", "flex-direction"=>"column", "width"=>1000px))