Plotly waterfall with offset base: hovertext activated on hover at wrong position
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 18.3k
- 派生
- 2k
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 28
描述
Recently, when using an offset (a non-zero base parameter) in a waterfall plot in plotly, I noticed that the boxes with hoverinfo were activated when the mouse pointer was in a completely wrong/unexpected place. I've submitted a question about this on StackOverflow, but realized it's quite likely that this is a bug, so I'm posting it here as well. Here's a link to my original post on SO, with a reproducible example: https://stackoverflow.com/q/71655326/3381005. I observed this behavior in the R version of Plotly, but I don't think it's R-specific, as I saw a similar post from a Python Dash Plotly user (sadly unanswered) here.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先复现链接的 Stack Overflow 帖子中的 waterfall 示例,并将其与相关的 Plotly 社区报告进行比较。跟踪非零 base 下 waterfall 的 hover 行为;当指针位于相应 box 上方时 hovertext 会被激活,并且有一个 regression test 覆盖 offset 情况,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100