Force xaxis ticks width

Is it possible to force xaxis ticks width to fill the whole xais?

I want to get this result:


But, I’ve to drag manually …

Hi @zxdawn,

You can set the xaxis range programmatically using the layout.xaxis.range property. If that’s not helpful, could you share code for an example to discuss?

-Jon