PlotlyJS.jl
PlotlyJS.jl copied to clipboard
Accessing scope.id is deprecated
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:
- 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)
- Output running the following in Julia 0.7 or greater:
using Pkg; pkg"status"
(if you are on Julia 0.6 or earlier runPkg.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
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.
@DrakenWan If there's no output, refer to #278 . Add your info there too.
@DhruvaSambrani Has there been any update no getting this resolved? It seems like it would be a straightforward change (scope.id to scopeid). Thanks!
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
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.
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.