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

Method set_xbound

lib/mpl_toolkits/mplot3d/axes3d.py:758–781  ·  view source on GitHub ↗

Set the lower and upper numerical bounds of the x-axis. This method will honor axis inversion regardless of parameter order. It will not change the autoscaling setting (`.get_autoscalex_on()`). Parameters ---------- lower, upper : float or None

(self, lower=None, upper=None, view_margin=None)

Source from the content-addressed store, hash-verified

756 auto=None, view_margin=view_margin)
757
758 def set_xbound(self, lower=None, upper=None, view_margin=None):
759 """
760 Set the lower and upper numerical bounds of the x-axis.
761
762 This method will honor axis inversion regardless of parameter order.
763 It will not change the autoscaling setting (`.get_autoscalex_on()`).
764
765 Parameters
766 ----------
767 lower, upper : float or None
768 The lower and upper bounds. If *None*, the respective axis bound
769 is not modified.
770 view_margin : float or None
771 The margin to apply to the bounds. If *None*, the margin is handled
772 by `.set_xlim`.
773
774 See Also
775 --------
776 get_xbound
777 get_xlim, set_xlim
778 invert_xaxis, xaxis_inverted
779 """
780 self._set_bound3d(self.get_xbound, self.set_xlim, self.xaxis_inverted,
781 lower, upper, view_margin)
782
783 def set_ybound(self, lower=None, upper=None, view_margin=None):
784 """

Callers

nothing calls this directly

Calls 1

_set_bound3dMethod · 0.95

Tested by

no test coverage detected