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

Update to latest WebIO. #285

Merged
merged 1 commit into from
Jun 28, 2019
Merged

Conversation

twavv
Copy link
Contributor

@twavv twavv commented Jun 27, 2019

This will not pass on CI until JuliaRegistries/General#1473 is merged.

This fixes #278.

@twavv
Copy link
Contributor Author

twavv commented Jun 27, 2019

Oh, @sglyon you also include a Manifest.toml file. Can we get rid of that? I don't think it's common to include that with packages (it's also causing CI to fail because I didn't update it).

@sglyon
Copy link
Member

sglyon commented Jun 28, 2019

Thanks @travigd

I tested this out and I do get plots in the jupyter notebook, but I couldn't replicate the issues from #278

Can anyone verify that this does indeed fix #278? cc @halleysfifthinc @JobJob @DhruvaSambrani @jingpengw @ghuba

@sglyon
Copy link
Member

sglyon commented Jun 28, 2019

@travigd I removed the Manifest.toml file from the master branch. Would you be willing to rebase this PR on master so we can check CI?

@DhruvaSambrani
Copy link

DhruvaSambrani commented Jun 28, 2019

I did

]up
add https://github.com/travigd/PlotlyJS.jl#upgrade-webio-0.8.6
build
precompile

Started Jupyter notebook and ran

using PlotlyJS
plot([1,2,3,4,5])

This gave the following output

┌ Warning: Please upgrade Blink for a smoother integration with WebIO.
│   caller = ip:0x0
└ @ Core :-1
┌ Warning: Accessing `scope.id` is deprecated, use `scopeid(scope)` instead.
│   caller = ip:0x0
└ @ Core :-1
[The Graph rendered correctly]

The Blink warning should go once you merge I suppose.
The scope.id warning could be resolved by doing a FindReplace of all scope.id to scopeid(scope).

But

using Plots
plotlyjs()
plot([1,2,3,4,5])

Gave the old "WebIO not found" error. But I suppose once the new version is released, this issue should go.

So yes, it's working!😄😄

@twavv
Copy link
Contributor Author

twavv commented Jun 28, 2019

The scopeid issue is originating form JSExpr I think. We need to release a new version of that.

@DhruvaSambrani
Copy link

DhruvaSambrani commented Jun 28, 2019

The scopeid issue is originating form JSExpr I think. We need to release a new version of that.

Shall I make an issue there if you're sure?

@sglyon
Copy link
Member

sglyon commented Jun 28, 2019

I did check PlotlyJS.jl and the scopeid issue is not in this repo. Not sure where it is, but it isn't here 😆

@DhruvaSambrani
Copy link

So is this ready to be published?

@twavv
Copy link
Contributor Author

twavv commented Jun 28, 2019

I'm not entirely sure it's in JSExpr but that's a strong hunch. I will rebase this later and this it will be ready.

@twavv twavv force-pushed the upgrade-webio-0.8.6 branch from ba24f35 to 88f20e7 Compare June 28, 2019 18:26
@sglyon sglyon merged commit 6e6b5ab into JuliaPlots:master Jun 28, 2019
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

Successfully merging this pull request may close these issues.

Plots don't display in Jupyter with WebIO v0.8.1
3 participants