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

Method set_ybound

lib/mpl_toolkits/mplot3d/axes3d.py:783–806  ·  view source on GitHub ↗

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

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

Source from the content-addressed store, hash-verified

781 lower, upper, view_margin)
782
783 def set_ybound(self, lower=None, upper=None, view_margin=None):
784 """
785 Set the lower and upper numerical bounds of the y-axis.
786
787 This method will honor axis inversion regardless of parameter order.
788 It will not change the autoscaling setting (`.get_autoscaley_on()`).
789
790 Parameters
791 ----------
792 lower, upper : float or None
793 The lower and upper bounds. If *None*, the respective axis bound
794 is not modified.
795 view_margin : float or None
796 The margin to apply to the bounds. If *None*, the margin is handled
797 by `.set_ylim`.
798
799 See Also
800 --------
801 get_ybound
802 get_ylim, set_ylim
803 invert_yaxis, yaxis_inverted
804 """
805 self._set_bound3d(self.get_ybound, self.set_ylim, self.yaxis_inverted,
806 lower, upper, view_margin)
807
808 def set_zbound(self, lower=None, upper=None, view_margin=None):
809 """

Callers

nothing calls this directly

Calls 1

_set_bound3dMethod · 0.95

Tested by

no test coverage detected