Autorange padding calculation

When I use autorange: true, the plots draw the points with some padding

But if I use autorange: false and set the range to the min/max of the point values it draws the plot to the center of the point.

Is there a way to get the calculation of the padding used in the autoplot? Is there a private function we can utilize? Or any other suggestions to figure out a way to recreate the padding that autorange provides?

example:

1 Like

@etienne bump, came across the need for this again :sweat_smile: