Specify axis ordering for specific facet in multi-facet plot
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
从 facet_grid 入口开始,复现提供的 geom_area 示例,以检查连续分面轴的排序方式。确定是否可以独立指定每个分面的反转,并将完成定义为:在一个绘图中支持左窗格和右窗格所要求的相反排序,同时为该行为提供覆盖。
由索引模型根据 Issue 内容生成。
描述
Correct me if I am wrong, but it is not possible(?) to create a multi-facet plot with continuous facets where one of the facets reverses the x (y) axis in a particular facet. For example if I have:
df = pd.concat([
pd.DataFrame({'x': [1, 2, 3, 4, 5, 6, 7, 8], 'level': [2, 4, 9, 25, 36, 49, 64], 'pane': 'left'}),
pd.DataFrame({'x': [1, 2, 3, 4, 5, 6, 7, 8], 'level': [1, 3, 8, 24, 30, 40, 55], 'pane': 'right'})
])
(ggplot() +
geom_area(aes(x='x', y='level', fill='pane'), data=df) +
facet_grid(". ~ pane"))
Supposing that I want the 'left' pane to be ordered from 8 downto 1 and the 'right' ordered from 1 to 8, is it possible to accomplish this in the same ggplot()?
- 主要语言
- Python
- 星标
- 4.8k
- 派生
- 260
- 平均合并
- 2 天 12 小时
- 30 天内合并 PR
- 4
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
has2k1/plotnine 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
Enhancement
难度 3/5 半天 新手友好度 55/100
has2k1/plotnine#1141 · 2 条评论 ·
维护者通常 1 天内回复
-
Enhancement
难度 4/5 3-5 天 新手友好度 52/100
has2k1/plotnine#1081 · 3 条评论 ·
维护者通常 1 天内回复
-
Discussion
难度 5/5 一周以上 新手友好度 30/100
has2k1/plotnine#1047 · 15 条评论 · 3 个 reaction ·
维护者通常 1 天内回复
-
Documentation Plot Composition Question
难度 3/5 1-2 天 新手友好度 45/100
has2k1/plotnine#1036 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
bytedance/agentkit-samples#277 ·
-
ai-driven-fuzzing bug claude Minor
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 2 天内回复
-
channels:edit check:passed
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
aws-samples/sample-aws-genai-db-modernizer#2097 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复