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

Method limit_range_for_scale

lib/matplotlib/axis.py:833–838  ·  view source on GitHub ↗

Return the range *vmin*, *vmax*, restricted to the domain supported by the current scale.

(self, vmin, vmax)

Source from the content-addressed store, hash-verified

831 **{f"scale{k}": k == name for k in self.axes._axis_names})
832
833 def limit_range_for_scale(self, vmin, vmax):
834 """
835 Return the range *vmin*, *vmax*, restricted to the domain supported by the
836 current scale.
837 """
838 return self._scale.limit_range_for_scale(vmin, vmax, self.get_minpos())
839
840 def _nan_out_of_scale_range(self, data):
841 """

Callers 6

_set_limMethod · 0.95
_autoscale_axisMethod · 0.45
_set_lim3dMethod · 0.45
_zero_in_boundsMethod · 0.45
handle_single_axisMethod · 0.45

Calls 1

get_minposMethod · 0.95

Tested by

no test coverage detected