add simple independent axes for facet_row and facet_col
还没有人认领这个 Issue。
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
Right now it is possible to have independent axes labels/ticks for facets using this trick: https://stackoverflow.com/questions/60997189/how-can-i-make-faceted-plots-in-plotly-have-their-own-individual-yaxes-tick-labe
However, it is kind of hard to remember the 4-line solution by heart.
Is it possible to add something like independent_facet_y=True in the kwargs for plots that support facet? For plots where e.g., facet is age and y axis is height, it's very difficult to interpret data since the smaller values are basically invisible without doing this.
Ideally setting the flag would display axes ticks for each plot and scale the plots according to each facet's range.
For example, seaborn has sharex and sharey arguments that basically do this https://seaborn.pydata.org/generated/seaborn.catplot.html#seaborn-catplot
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查现有支持 facet 的绘图 API 以及链接的 Stack Overflow 变通方案,然后将所请求的行为与 seaborn 的 sharex 和 sharey 选项进行比较。当适用的 facet 绘图始终支持明确定义的独立坐标轴选项,并按描述提供每个 facet 的刻度和缩放时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- plotly, python
- 领域
- data-visualization
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100