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

Method get_xbound

lib/matplotlib/axes/_base.py:3803–3817  ·  view source on GitHub ↗

Return the lower and upper x-axis bounds, in increasing order. See Also -------- set_xbound get_xlim, set_xlim invert_xaxis, xaxis_inverted

(self)

Source from the content-addressed store, hash-verified

3801 """))
3802
3803 def get_xbound(self):
3804 """
3805 Return the lower and upper x-axis bounds, in increasing order.
3806
3807 See Also
3808 --------
3809 set_xbound
3810 get_xlim, set_xlim
3811 invert_xaxis, xaxis_inverted
3812 """
3813 left, right = self.get_xlim()
3814 if left < right:
3815 return left, right
3816 else:
3817 return right, left
3818
3819 def set_xbound(self, lower=None, upper=None):
3820 """

Callers 15

get_data_ratioMethod · 0.95
apply_aspectMethod · 0.95
set_xboundMethod · 0.95
_get_coord_infoMethod · 0.80
draw_gridMethod · 0.80
drawMethod · 0.80
__init__Method · 0.80
_get_dataMethod · 0.80
_setup_edge_handlesMethod · 0.80
axvlineMethod · 0.80
test_span_selector_boundFunction · 0.80

Calls 1

get_xlimMethod · 0.95

Tested by 3

test_span_selector_boundFunction · 0.64
test_set_xy_boundFunction · 0.64
test_axes_marginsFunction · 0.64