Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blink/ElectronDisplay #164

Closed
ghuba opened this issue Jan 11, 2018 · 2 comments
Closed

Blink/ElectronDisplay #164

ghuba opened this issue Jan 11, 2018 · 2 comments

Comments

@ghuba
Copy link
Contributor

ghuba commented Jan 11, 2018

Although the behavior is very inconsistent, in most cases I am unable to get plots from the REPL anymore. Can anyone confirm?

Julia Version 0.6.2
MacOS High Sierra
PlotlyJS 0.8.2
Blink 0.6.0

For example, in the REPL:

julia> using PlotlyJS
julia> x = linspace(0,2*pi,128)
julia> plot(x,cos.(x))

The Blink window appears and stays there with the black square.

screen shot 2018-01-11 at 8 40 39 am

The plot never shows up. It looks like nothing is being sent to the Blink window.

On occasions, I get a blank window with no square. A few times the plot comes up but it's not reproducible. Very confusing...

@sglyon
Copy link
Member

sglyon commented Jan 11, 2018

Sorry for the inconvenience.

This is a known issue with Blink v0.6.0.

It has been fixed in PlotlyJS version 0.8.3: https://github.com/sglyon/PlotlyJS.jl/releases/tag/v0.8.3

The pull request in METADATA.jl is still pending merge: JuliaLang/METADATA.jl#12828 (comment)

Once that happens a Pkg.update() should fix the problem

Until then you can Pkg.checkout("PlotlyJS") to get a working version again

@sglyon sglyon closed this as completed Jan 11, 2018
@ghuba
Copy link
Contributor Author

ghuba commented Jan 11, 2018

Thanks. Followed your instructions and this fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants