JuliaPy / JuliaPy/PyPlot.jl

hist2D requires capitalization of the "D", but axis.hist2d needs to be lowercase

Đang mở
#599 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Julia
Star
488
Fork
90
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

commit 40632c7 explains that in PyPlot the "D"s in `hist2D` and the like are capitalized in PyPlot.
The `pyplot wrapper` requires capitalization, but when the function is called on/by an axis object, the opposite is true:
```
hist2D(...) # works
hist2d(...) # throws ERROR: UndefVarError: `hist2d` not defined in `Main`
fig, ax = plt.sublots()
ax.hist2D(...) # throws ERROR: KeyError: key :hist2D not found
ax.hist2d(...) # works
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Compare the pyplot wrapper and axis-object handling for the hist2D/hist2d calls demonstrated in the issue. Reproduce both forms in PyPlot.jl, then trace the wrapper and axis lookup paths to identify the capitalization mismatch. Done means both pyplot and axis-object calls work with the expected spelling.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
julia, python
Lĩnh vực
data-visualization
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.