Juno: mouseover_set attribute was deprecated in Matplotlib 3.0
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
研究方向
報告指出應檢查 inspect.py:341,以及透過 PyCall 的 conversions.jl:96、PyCall.jl:903 和 Docs.jl:254 的 Julia 堆疊。使用 PyPlot 後重現 Juno/Atom 流程,然後追蹤棄用警告是否導致 NoneType 轉換;當輸入 ax. 不再觸發內部錯誤時即表示完成。
由索引模型根據 Issue 內容生成。
描述
Dear all,
I have encountered a strange error message thrown by Atom (Juno) on macOS.
Not sure if this is the right place because in the REPL this error is not present.
Steps to reproduce:
- install Juno package for Atom
- install PyPlot.jl and link it to already existing Anaconda installation
within Juno first execute this bit of code:
using PyPlot
fig, ax = PyPlot.subplots()
ax.plot(rand(10))
PyPlot.close()
and then:
as soon as you type ax. the following error message is thrown within Atom's error message:
Julia Client – Internal Error:
LoadError: PyError ($(Expr(:escape, :(ccall(#= ~/.julia/packages/PyCall/zqDXB/src/conversions.jl:96 =# @pysym(PyString_AsStringAndSize), Cint, (PyPtr, Ptr{Ptr{UInt8}}, Ptr{Int}), po, _ps_ptr, _ps_len))))) <class 'TypeError'>
TypeError('expected bytes, NoneType found')
in expression starting at string:1
pyerr_check at exception.jl:60 [inlined]
pyerr_check at exception.jl:64 [inlined]
_handle_error(::String) at exception.jl:81
macro expansion at exception.jl:95 [inlined]
convert(::Type{String}, ::PyCall.PyObject) at conversions.jl:96
getdoc at PyCall.jl:903 [inlined]
getdoc(::Any, ::Any) at Docs.jl:254
doc(::Base.Docs.Binding, ::Type) at docview.jl:86
doc(::Base.Docs.Binding) at docview.jl:85
top-level scope at string:1
include_string(::Module, ::String, ::String) at loading.jl:1075
and the REPL prints out this error message:
~/anaconda3/lib/python3.7/inspect.py:341: MatplotlibDeprecationWarning:
The mouseover_set attribute was deprecated in Matplotlib 3.0 and will be removed in 3.2.
- 主要語言
- Julia
- 星號
- 489
- 分支
- 89
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
JuliaPy/PyPlot.jl 的其他 Issue
-
難度 3/5 1-2 天 新手友好度 45/100
-
julia PyPlot support missing data可能已有人在做 @deszoeke 於 685 天前認領。 未關閉
難度 4/5 3-5 天 新手友好度 45/100
-
難度 3/5 1-2 天 新手友好度 30/100
-
難度 3/5 1-2 天 新手友好度 35/100
-
難度 4/5 3-5 天 新手友好度 25/100
查看 JuliaPy/PyPlot.jl 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 74/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
-
io
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 82/100
osrep/Runes2P.jl#115 ·
-
難度 1/5 1 小時以內 新手友好度 72/100