Skip to content

[BUG]: Setting only an upper or lower bound for axes does not work #5536

@Madrigallo

Description

@Madrigallo

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.

Image
import plotly.express as px

fig = px.scatter([0,6])
fig = fig.update_yaxes(range=[0, None])
display(fig)

Plotly 6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions