Black Lives Matter. Please consider donating to Black Girls Code today.
Learn how to use COVID-19 data in open source Dash apps. Register for the Sept 23rd webinar with IQT!

Setting maximum value for x axis

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

layout = go.Layout(
xaxis=dict(
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

Jon

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?

Thanks.

Hi Etienne

Thanks for the reply

I have filled out an issue

All the best

1 Like