subplot layouts break with go.Scatter and go.Scattergl
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
When I plot many subplots, the axes occasionally break. I am using fixed subplot sizes. Occasionally line plots will not plot on their respective subplot axes. You can see the interactive hover actions do work on the axes, but the lines themselves are drawn shifted much higher or lower than the axis. All the go.Heatmap objects seem to graph just fine.
Sometimes I can fix the layout bug by choosing a different axis height, but most values don't fix it so it's a long game of guess-and-check.
Google chrome seems to report some errors
Specifying overflow: visible on img, video and canvas tags may cause them to produce visual content outside of the element bounds. See https://github.com/WICG/shared-element-transitions/blob/main/debugging_overflow_on_images.md .
1 sourceaudio_diff.html:12
One or more documents in this page is in Quirks Mode, which will render the affected document(s) with quirks incompatible with the current HTML and CSS specifications.
Quirks Mode exists mostly due to historical reasons. If this is not intentional, you can add or modify the DOCTYPE to be<!DOCTYPE html>to render the page in No Quirks Mode.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先在 Chrome 中打开随附的 audio_diff.html.zip,并使用 go.Scatter 和 go.Scattergl 配合 go.Heatmap 复现固定大小的子图布局。将偏移的线轨迹与其坐标轴以及浏览器警告进行比较;在所有测试高度下,线图都与各自的子图坐标轴保持对齐即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100