Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Juno: mouseover_set attribute was deprecated in Matplotlib 3.0

未關閉
#470 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
julia, matplotlib, python

研究方向

報告指出應檢查 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,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

JuliaPy/PyPlot.jl 的其他 Issue

查看 JuliaPy/PyPlot.jl 的全部 Issue

相似的 Issue

更多 Julia Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。