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

Method tick_values

lib/matplotlib/ticker.py:1832–1837  ·  view source on GitHub ↗
(self, vmin, vmax)

Source from the content-addressed store, hash-verified

1830 return self.tick_values(dmin, dmax)
1831
1832 def tick_values(self, vmin, vmax):
1833 # We want tick values in the closed interval [vmin, vmax].
1834 # Since np.arange(start, stop) returns values in the semi-open interval
1835 # [start, stop), we add a minimal offset so that stop = vmax + eps
1836 tick_values = np.arange(vmin + self.offset, vmax + 1e-12, self._base)
1837 return self.raise_if_exceeds(tick_values)
1838
1839
1840class FixedLocator(Locator):

Callers 2

__call__Method · 0.95

Calls 1

raise_if_exceedsMethod · 0.80

Tested by 1