Setting maximum value for x axis

I understand that an x range maximum and minimum values can be set with …

layout = go.Layout(
range=[2, 5]

I’m looking for a method of only setting the maximum x value and leaving the minimum value blank.
is this possible
Many thanks


We currently require that range be an array of two items, by design.

That said, I agree that in some cases, setting only one of the bounds is desired.

Would you mind fill filling out an issue on the plotly.js github repo to start a discussion among the maintainers?


Hi Etienne

Thanks for the reply

I have filled out an issue

All the best

1 Like