-
Notifications
You must be signed in to change notification settings - Fork 89
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
I get this error in Julia: ArgumentError: hasproperty of NULL PyObject What is it and how to resolve it? #508
Comments
Having the same problem recently, though I'm running manjaro |
but I narrowed it to
|
Native python works of course, but also:
works too. |
i also got his bug, seems pyplot is very hard to use. We cannot even find a solution for this bug. |
I am experiencing the same problem... |
Same here |
Hi, scatter(...)
scatter!(...) inside a loop. |
Same problem, did you solve it? |
It generally means that PyPlot wasn't able to initialize properly — there was probably an error earlier that you ignored? |
I've run into this several times when adding another package inadvertently updates my PyPlot version. Once I revert to a previous version for PyPlot that seems to work. |
what version do you often revert to |
Whatever version it was at before it updated and broke. I'm currently using 2.11.2. |
thanks a lot it worked |
ArgumentError: hasproperty of NULL PyObject
Stacktrace:
[1] pyhasproperty(::PyCall.PyObject, ::String) at C:\Users\Home.julia\packages\PyCall\BcTLp\src\PyCall.jl:359
[2] hasproperty at C:\Users\Home.julia\packages\PyCall\BcTLp\src\PyCall.jl:365 [inlined]
[3] ioff(; kws::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\Home.julia\packages\PyPlot\XHEG0\src\PyPlot.jl:174
[4] ioff() at C:\Users\Home.julia\packages\PyPlot\XHEG0\src\PyPlot.jl:174
[5] top-level scope at C:\Users\Home.julia\packages\Plots\vsE7b\src\backends.jl:510
[6] eval at .\boot.jl:331 [inlined]
[7] _initialize_backend(::Plots.PyPlotBackend) at C:\Users\Home.julia\packages\Plots\vsE7b\src\backends.jl:504
[8] backend at C:\Users\Home.julia\packages\Plots\vsE7b\src\backends.jl:174 [inlined]
[9] pyplot(; kw::Base.Iterators.Pairs{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}}) at C:\Users\Home.julia\packages\Plots\vsE7b\src\backends.jl:31
[10] pyplot() at C:\Users\Home.julia\packages\Plots\vsE7b\src\backends.jl:31
[11] top-level scope at In[10]:2
[12] include_string(::Function, ::Module, ::String, ::String) at .\loading.jl:1091
The text was updated successfully, but these errors were encountered: