Legend group title are shifted to the right when written in LaTeX
未关闭
还没有人认领这个 Issue。
bug
P3
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
Hi,
When using legend groups, if the title text is written in LaTeX, it is shifted to the right. However, I would expect that having a title text in latex should not change its alignment.
To reproduce, please have a look at this PyCafe example. I confirm this problem exists outside of dash.
I am using plotly 6.0.1.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从链接的 PyCafe 复现开始,比较 Plotly 6.0.1 中以纯文本和 LaTeX 渲染的图例组标题。跟踪图例组标题渲染的入口点,并验证 LaTeX 不会改变标题的水平对齐方式;当两种形式都能保持一致对齐时即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- latex, python
- 领域
- data-visualization
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100