[BUG]: Setting only an upper or lower bound for axes does not work when one axis is categorical, or in Jupyter
Aperta
@emilykl ci sta già lavorando.
Dal 18/3/2026.
bug
- Lingua principale
- Python
- Stelle
- 18.8k
- Fork
- 2.8k
- Merge medio
- 16h 26m
- PR unite (30g)
- 21
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.