MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_xmargin

Method get_xmargin

lib/matplotlib/axes/_base.py:2823–2838  ·  view source on GitHub ↗

Retrieve autoscaling margin of the x-axis. .. versionadded:: 3.9 Returns ------- xmargin : float See Also -------- :ref:`autoscale_margins` matplotlib.axes.Axes.set_xmargin

(self)

Source from the content-addressed store, hash-verified

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 """

Callers 3

test_margin_gettersFunction · 0.80
test_margin_gettersFunction · 0.80
autoscale.pyFile · 0.80

Calls

no outgoing calls

Tested by 2

test_margin_gettersFunction · 0.64
test_margin_gettersFunction · 0.64