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

Accessing scope.id is deprecated #283

Open
DhruvaSambrani opened this issue Jun 7, 2019 · 6 comments
Open

Accessing scope.id is deprecated #283

DhruvaSambrani opened this issue Jun 7, 2019 · 6 comments

Comments

@DhruvaSambrani
Copy link

Describe the bug
Following warning is thrown when plot() is called with Plots on Jupyter notebook.
Warning: Accessing scope.id is deprecated; use scopeid(scope) instead.
│ caller = ip:0x0
└ @ Core :-1

Version info

Please provide the following:

  1. output of julia command versioninfo()

Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

  1. Output running the following in Julia 0.7 or greater: using Pkg; pkg"status" (if you are on Julia 0.6 or earlier run Pkg.status())

Status C:\Users\Dhruva Sambrani\.julia\environments\v1.1\Project.toml
[7073ff75] IJulia v1.18.1
[47be7bcc] ORCA v0.2.1
[f0f68f2c] PlotlyJS v0.12.4
[91a5bcdd] Plots v0.25.1
[0f1e0344] WebIO v0.8.4

@DrakenWan
Copy link

DrakenWan commented Jun 27, 2019

Can you please have a solution for this? I am trying to work with a julia notebook and I get this warning. The plot doesn't work at all. I am new to julia and all these terms are confusing me.

using Plots

plotlyjs()
norm1 = randn(1000);
histogram(norm1, bins = 10, label = "Standard normal distribution", title = "Histogram")
After running the last function I get the same warning. I need help for this.

@DhruvaSambrani
Copy link
Author

@DrakenWan
If there's no output, refer to #278 . Add your info there too.

@haydenfree
Copy link

@DhruvaSambrani Has there been any update no getting this resolved? It seems like it would be a straightforward change (scope.id to scopeid). Thanks!

@sglyon
Copy link
Member

sglyon commented Jul 29, 2019

This actually isn't happening in this project. Not sure where it is happening, but I searched the code here and can't find scope.id

@haydenfree
Copy link

I'm using Blink.jl and HTTP.jl and get the same error. I've searched both of those projects as well as my own project and cannot find where it is happening.

@asbisen
Copy link

asbisen commented Aug 19, 2019

quite possibly it's coming from here https://github.com/JuliaGizmos/JSExpr.jl/blob/master/src/JSExpr.jl#L67. casually changing scope.id to scopeid(scope) does not fix the problem though.

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

5 participants