Hi @jumaxbrian, welcome to the forum!
You can force the xaxis to be categorical as described here
import plotly.express as px
fig = px.bar(x=[1, 10, 100], y=[2, 1, 4,])
fig.update_layout(xaxis_type='category')
fig.show()
Hi @jumaxbrian, welcome to the forum!
You can force the xaxis to be categorical as described here
import plotly.express as px
fig = px.bar(x=[1, 10, 100], y=[2, 1, 4,])
fig.update_layout(xaxis_type='category')
fig.show()