arrayfire / arrayfire/arrayfire-python
Error in plot3d.py example
- 主要语言
- Python
- 星标
- 422
- 派生
- 63
- PR 合并指标
- 30 天内没有已合并 PR
描述
Hi,
I recently installed arrayfire python bindings. It passes all the tests and it launches few of the examples. However I got the following error when I tried to launch `plot3d.py` in the `examples/graphics` folder. Any idea ?
```python
ArrayFire v3.6.2 (CUDA, 64-bit Linux, build dc38ef1)
Platform: CUDA Toolkit 10, Driver: 418.39
[0] Quadro M2000M, 4044 MB, CUDA Compute 5.0
Traceback (most recent call last):
File "examples/graphics/plot3.py", line 32, in
win.plot3(Pts)
File "/home/user1/miniconda3/envs/ptmviewer/lib/python3.7/site-packages/arrayfire-3.6.20181017-py3.7.egg/arrayfire/graphics.py", line 296, in plot3
assert(line.numdims() == 3)
AttributeError: 'NoneType' object has no attribute 'numdims'
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
Reproduce the failure by running examples/graphics/plot3.py, then inspect arrayfire/graphics.py around line 296 where plot3 calls numdims() on line. Confirm the example completes without the reported NoneType AttributeError and that the 3D plot is launched successfully.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- computer-graphics
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100