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

Method tick_values

lib/matplotlib/dates.py:1706–1717  ·  view source on GitHub ↗
(self, vmin, vmax)

Source from the content-addressed store, hash-verified

1704 return self.tick_values(dmin, dmax)
1705
1706 def tick_values(self, vmin, vmax):
1707 nmin, nmax = date2num((vmin, vmax))
1708 t0 = np.floor(nmin)
1709 nmax = nmax - t0
1710 nmin = nmin - t0
1711 nmin *= MUSECONDS_PER_DAY
1712 nmax *= MUSECONDS_PER_DAY
1713
1714 ticks = self._wrapped_locator.tick_values(nmin, nmax)
1715
1716 ticks = ticks / MUSECONDS_PER_DAY + t0
1717 return ticks
1718
1719 def _get_unit(self):
1720 # docstring inherited

Callers 1

__call__Method · 0.95

Calls 2

date2numFunction · 0.85
tick_valuesMethod · 0.45

Tested by

no test coverage detected