I can’t get the plot pane to work in Juno/Atom. gr(); plot(...)
just opens a separate window. I came across a topic which said you have to use plotlyjs
, so I installed it, but when I run plotlyjs()
I get the following error:
ERROR: InitError: SystemError: opening file "C:\\Users\\sulli\\.julia\\packages\\PlotlyJS\\m2Lzd\\deps\\build.log": No such file or directory
Stacktrace:
[1] systemerror(::String, ::Int32; extrainfo::Nothing) at .\error.jl:168
[2] #systemerror#48 at .\error.jl:167 [inlined]
[3] systemerror at .\error.jl:167 [inlined]
[4] open(::String; lock::Bool, read::Nothing, write::Nothing, create::Nothing, truncate::Nothing, append::Nothing) at .\iostream.jl:284
[5] open at .\iostream.jl:273 [inlined]
[6] open(::Base.var"#296#297"{String}, ::String; kwargs::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at .\io.jl:323
[7] open at .\io.jl:323 [inlined]
[8] read at .\io.jl:410 [inlined]
[9] __init__() at C:\Users\sulli\.julia\packages\PlotlyJS\m2Lzd\src\PlotlyJS.jl:65
[10] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
[11] _require_from_serialized(::String) at .\loading.jl:749
[12] _require(::Base.PkgId) at .\loading.jl:1040
[13] require(::Base.PkgId) at .\loading.jl:928
[14] require(::Module, ::Symbol) at .\loading.jl:923
[15] top-level scope at C:\Users\sulli\.julia\packages\Plots\vsE7b\src\backends.jl:489
[16] eval at .\boot.jl:331 [inlined]
[17] _initialize_backend(::Plots.PlotlyJSBackend) at C:\Users\sulli\.julia\packages\Plots\vsE7b\src\backends.jl:488
[18] backend at C:\Users\sulli\.julia\packages\Plots\vsE7b\src\backends.jl:174 [inlined]
[19] plotlyjs(; kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at
C:\Users\sulli\.julia\packages\Plots\vsE7b\src\backends.jl:31
[20] plotlyjs() at C:\Users\sulli\.julia\packages\Plots\vsE7b\src\backends.jl:31
[21] top-level scope at REPL[18]:1
during initialization of module PlotlyJS
I came across various topics on Discourse about how the plots pane doesn’t work anymore. I also saw something about this being a WebIO issue. I don’t know if those things are related.