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

Method get_box_aspect

lib/matplotlib/axes/_base.py:1839–1853  ·  view source on GitHub ↗

Return the Axes box aspect, i.e. the ratio of height to width. The box aspect is ``None`` (i.e. chosen depending on the available figure space) unless explicitly specified. See Also -------- matplotlib.axes.Axes.set_box_aspect for a desc

(self)

Source from the content-addressed store, hash-verified

1837 ax.stale = True
1838
1839 def get_box_aspect(self):
1840 """
1841 Return the Axes box aspect, i.e. the ratio of height to width.
1842
1843 The box aspect is ``None`` (i.e. chosen depending on the available
1844 figure space) unless explicitly specified.
1845
1846 See Also
1847 --------
1848 matplotlib.axes.Axes.set_box_aspect
1849 for a description of box aspect.
1850 matplotlib.axes.Axes.set_aspect
1851 for a description of aspect handling.
1852 """
1853 return self._box_aspect
1854
1855 def set_box_aspect(self, aspect=None):
1856 """

Callers 1

test_box_aspectFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_box_aspectFunction · 0.64