By how much does plotly expand the x or y range in relation to the range of the data?

Hello,

I understand that base R expands the x and y axes range by 6% of the range of the data, by default, in order for the graph to not touch the axes.

My query is : How much does plotly expand the range of the graph by default? Can someone point me to the code for this ?

Thank you.