Current State of Live Plots in Atom/Juno?

Okay I got the behaviour I wanted!

Had to use Interact.jl and Observables… Kind of lateral thinking, but it works really nicely!

using Interact, Plots
plt_obs = Observable{Any}(scatter(data))
data_obs = Observable{Any}(data)

map!(t -> scatter(t), plt_obs, data_obs)

ui = dom"div"( plt_obs )

for i in 1:10
    data_obs[] = randn(100)
    sleep(0.4)
end

I’d still like to see other solutions, so please fire away, or offer suggestions

1 Like