### Navigation

- index
- modules |
- next |
- previous |
- home|
- examples|
- tutorials|
- pyplot|
- docs »
- The Matplotlib API »
- `Axes` class »

# matplotlib.axes.Axes.set_ymargin

`Axes.``set_ymargin`(m)

  Set padding of Y data limits prior to autoscaling.

  m times the data interval will be added to each end of that interval before it is used in autoscaling.

  accepts: float in range 0 to 1