When plotting in Juno with Plots, the Plotly as well as the plotlyjs backend produce only black figures. Gr works though.
I can't point my finger to it, but I think it started after upgrading plots from 1.2.0 but I'm not sure since going back didn't help.
using gui(plot(...)) works and displays the figures in the browser.
This bug occurs on ( insert x below )
Backend | yes | no | untested
-------------|-----|-----|---------
gr (default) | | x |
pyplot | | | x
plotly | x | |
plotlyjs | x | |
pgfplotsx | | |x
inspectdr | | |x
Plots.jl version: 1.2.5
Backend version: Plotly v0.3.0
Output of versioninfo():
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, ivybridge)
Environment:
JULIA_NUM_THREADS = 4
@daschw and @pfitzseb ; I also have the same problem all over again after I updated Atom editor v1.47.0; julia-client v0.12.5; ink v0.12.4 while the Plots.jl is now v1.3.0. Unlike before I reported https://github.com/JuliaPlots/Plots.jl/issues/2462, which was resolved mid April, this time, issuing gui() does not work for the plotlyjs backend. Interestingly, for the plotly backend, after some plotting commands, if I issue gui(), a web browser page is created and plots are displayed, i.e., the plotly backends works if one issues gui(). But of course, this is not a normal behavior anyways. I would greatly appreciate it if you could take a look at this issue. It's very bad if this happens each time when Atom is updated...
FWIW, I can reproduce
It is an atom problem, also the atom-html-preview is affected :-(
wait a moment before merging, I forgot to commit a correction ...
wait a moment before merging, I forgot to commit a correction ...
Was that supposed to count for #2719 ? You should have commented on the PR then. Read this too late...
Regarding the lack of output in the plots pane: The pane is working when I use Juliapro, which uses julia-client v0.12.4
Just an update: the source of this problem seems to be in Atom v1.47.0, electron 5.x, which disables webview and nodeintegration by default, according to https://github.com/atom/atom/issues/20604 . Actually, one of my machines still has Atom v1.46.0, and even with the updated julia-client v0.12.5; ink v0.12.4, plotlyjs and plotly backends work. The Atom developers are working on this problem and should be resolved once they release Atom v1.48.0. See https://github.com/atom/atom/pull/20741 .
Working for me now after updating to Atom 1.48.0
Most helpful comment
Working for me now after updating to Atom 1.48.0