matplotlib.axes.Axes.get_ymargin

Axes.get_ymargin()[source]

Retrieve autoscaling margin of the y-axis.

Added in version 3.9.

Returns:
ymarginfloat

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.get_ymargin.html