ODE integrator for FF streamline produces NaNs
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
While providing a current field to a FF streamline object, I get this error. This error happens even in current plotly version: e53e626d59495d440341751f60aeff73ff365c28 (The last commit I tested the workflow in)

The same field when provided to a matplotlib streamplot object produces the expected lines:

The only difference which I could see is the ODE integrator being used in matplotlib and plotly. I refer to
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/streamplot.py with matplotlib using Heun's method.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用提供给 FF streamline 对象的当前场重现 NaNs,然后将其 ODE 积分与 matplotlib 的 lib/matplotlib/streamplot.py 进行比较;该 issue 指出后者使用 Heun 方法。当同一场生成有限且符合预期的 streamline 线而不是 NaNs 时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100