Juno: mouseover_set attribute was deprecated in Matplotlib 3.0
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
Báo cáo chỉ đến inspect.py:341 và stack Julia thông qua conversions.jl:96, PyCall.jl:903 và Docs.jl:254 của PyCall. Hãy tái hiện luồng Juno/Atom sau khi sử dụng PyPlot, sau đó truy vết xem cảnh báo deprecation có gây ra việc chuyển đổi NoneType hay không; hoàn tất khi việc nhập ax. không còn kích hoạt lỗi nội bộ.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Julia
- Star
- 489
- Fork
- 90
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của JuliaPy/PyPlot.jl
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
julia PyPlot support missing dataCó thể đã có người làm @deszoeke đã nhận 669 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
colors has no field TwoSlopeNormĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
-
PGF preamble is not usedĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Problem in using PyPlot in JuliaĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của JuliaPy/PyPlot.jl
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
EnzymeAD/ReactantServer.jl#103 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
debye_length: strong_zero drops the permittivity's composition dependence from κ derivativesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ClapeyronThermo/Clapeyron.jl#649 ·
-
Add DocStringExtensionsĐang mởdocumentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
ohno/Antique.jl#165 ·
-
`UnitLowerTriangular(transpose(M')) \ b` returns a wrong solutionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
JuliaLang/LinearAlgebra.jl#1749 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100