Missing Colon method
未关闭
enhancement
- 主要语言
- Julia
- 星标
- 1.5k
- 派生
- 186
- PR 合并指标
- 30 天内没有已合并 PR
描述
This code used to work in 0.5, but fails in 0.6. I'm assuming that this is PyCall's responsibility, and not PyPlot's.
```julia
julia> using PyPlot
Fontconfig warning: line 146: blank doesn't take any effect anymore. please remove it from your fonts.conf
julia> fig, ax = plt[:subplots](2, 2)
PyObject (, array([[,
],
[,
]], dtype=object))
julia> ax[:]
ERROR: MethodError: no method matching getindex(::PyCall.PyObject, ::Colon)
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
首先跟踪 PyCall 中 PyObject 针对 ax[:] 调用的 getindex 路径,以及此处描述的 Julia 0.5/0.6 差异。重现所示的 PyPlot 示例,并确认 Colon 索引不再引发 MethodError。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- julia, python
- 领域
- api
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100