Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Juno: mouseover_set attribute was deprecated in Matplotlib 3.0

オープン
#470 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

JuliaPy/PyPlot.jl のほかの issue

JuliaPy/PyPlot.jl の issue をすべて見る

似ている issue

Julia の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。