y axis is not neat how do I fix it?
Hi @richan,
Welcome to the community!
Starting with the why: you are using a bar chart grouped by color, but each category has a value for only one of the y
values (in other words, they are subcategories of y
values)… So Plotly is “giving extra room” for the other 6 bars that don’t exist for a given value of y
.
I don’t think a solution using plotly express exists, if you want the bars centred wrt to the ticks and different colors.
hello thanks for the welcome.
Thanks @jifsjunior
Solved.