Plotly - Scatter plot - remove data padding

Hey

I’d like to remove the buffer/padding effect which is added when I add a scatter trace which contains data right at the edge of my x-axis. When I remove the point near the edge (which I dont want to do…), I dont get the buffer effect - the line traces start right on the edge, but I cant find which setting controls this.

Can this be deactivated via settings? Thanks for the help!

padding
padding-no

To answer my own question:

setting layout.xaxis.range to a fixed range fixes this.

1 Like