[BUG]: Setting only an upper or lower bound for axes does not work when one axis is categorical, or in Jupyter
Open
@emilykl is already working on this.
Since Mar 18, 2026.
bug
- Dominant language
- Python
- Stars
- 18.8k
- Forks
- 2.8k
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 21
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.