Retrieve autoscaling margin of the x-axis. .. versionadded:: 3.9 Returns ------- xmargin : float See Also -------- :ref:`autoscale_margins` matplotlib.axes.Axes.set_xmargin
(self)
| 2821 | # No effect until next autoscaling, which will mark the Axes as stale. |
| 2822 | |
| 2823 | def get_xmargin(self): |
| 2824 | """ |
| 2825 | Retrieve autoscaling margin of the x-axis. |
| 2826 | |
| 2827 | .. versionadded:: 3.9 |
| 2828 | |
| 2829 | Returns |
| 2830 | ------- |
| 2831 | xmargin : float |
| 2832 | |
| 2833 | See Also |
| 2834 | -------- |
| 2835 | :ref:`autoscale_margins` |
| 2836 | matplotlib.axes.Axes.set_xmargin |
| 2837 | """ |
| 2838 | return self._xmargin |
| 2839 | |
| 2840 | def get_ymargin(self): |
| 2841 | """ |
no outgoing calls