JunoLab / Juno.jl

MIT License
145 stars 23 forks source link

Interactive plots no longer work over a remote connection #152

Open SebastianM-C opened 6 years ago

SebastianM-C commented 6 years ago

I noticed that interactive plots (with the plotlyjs() backend from Plots.jl) no longer work over a remote connection. When I evaluate a plot command the editor looks like it the evaluation hangs, but no error is displayed (only a warning). image and the terminal:

julia> using Juno; Juno.connect(31415)
INFO: Loading HttpServer methods...

julia> WARNING: Atom.jl: unrecognised message connected.
WARNING: Method definition get_window(Base.Dict{K, V} where V where K) in module PlotlyJS at /mnt/storage/.julia/v0.6/PlotlyJS/src/displays/electron.jl:51 overwritten at /mnt/storage/.julia/v0.6/PlotlyJS/src/displays/juno.jl:21.
julia> Pkg.status("Juno")
 - Juno                          0.4.1

Other commands can be evaluated after, so the editor is not stuck, even though the progress bar will remain in the "evaluating"/"loading" state.

staticfloat commented 5 years ago

I have found that while PlotlyJS plots show up, they are not interactive.