[BUG]: Setting only an upper or lower bound for axes does not work when one axis is categorical, or in Jupyter
未关闭
@emilykl 已经在做这个了。
开始于 2026年3月18日。
bug
- 主要语言
- Python
- 星标
- 18.8k
- 派生
- 2.8k
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 21
描述
Setting only the upper or lower bound for axes in plotly (introduced here) does not work (at least in scatter plots). If one of the bounds is set to None, the range does not change at all.
import plotly.express as px
fig = px.scatter([0,6])
fig = fig.update_yaxes(range=[0, None])
display(fig)
Plotly 6.6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。