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
- 派生
- 90
- 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 于 670 天前认领。 未关闭
难度 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 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 70/100
SciML/Optimization.jl#1414 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
SciML/OrdinaryDiffEq.jl#4831 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
SciML/ModelingToolkitStandardLibrary.jl#529 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 60/100
EnzymeAD/ReactantServer.jl#103 ·
维护者通常 1 天内回复