plotly / plotly/plotly.py

Please add a way to specify the location of multiple bits of text using container coordinates

未关闭
#3,084 13 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

feature P3
主要语言
Python
星标
18.8k
派生
2.8k
平均合并
16 小时 26 分钟
30 天内合并 PR
21

描述

I have an application where I need to put one text string (the Y-axis label) in the top left corner and a second text string containing source information in the bottom left corner. Placing text at the left edge of the graph seems to require specifying container X-coordinate 0. Title obviously supports creating one such label in container coordinates, but only appears to support one piece of text. https://plotly.com/python/reference/layout/ add_annotation supports multiple pieces of text, but does not appear to support container coordinates. https://plotly.com/python/text-and-annotations/#positioning-text-annotations-absolutely

Please offer one tool that supports both multiple strings and container coordinates if it is not already possible to do so. If it is possible, please clarify the documentation. If this is a good Plotly codebase contribution 0 for a data scientist, let me know -- I can attempt it.

Thanks!

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从链接的布局参考和 add_annotation 定位文档开始,比较对多个文本字符串和容器坐标的支持。完成意味着要么记录一个同时满足这两个要求的现有工作流,要么定义并实现一种受支持的方式来组合它们,并通过项目的测试验证其行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data-visualization
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。