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

Method view_limits

lib/matplotlib/ticker.py:1798–1804  ·  view source on GitHub ↗

Select a scale for the range from vmin to vmax. Subclasses should override this method to change locator behaviour.

(self, vmin, vmax)

Source from the content-addressed store, hash-verified

1796 return mtransforms._nonsingular(v0, v1, expander=.05)
1797
1798 def view_limits(self, vmin, vmax):
1799 """
1800 Select a scale for the range from vmin to vmax.
1801
1802 Subclasses should override this method to change locator behaviour.
1803 """
1804 return mtransforms._nonsingular(vmin, vmax)
1805
1806
1807class IndexLocator(Locator):

Callers 1

_autoscale_axisMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected