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

Method tick_values

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

Source from the content-addressed store, hash-verified

1154 return self.tick_values(dmin, dmax)
1155
1156 def tick_values(self, vmin, vmax):
1157 start, stop = self._create_rrule(vmin, vmax)
1158 dates = self.rule.between(start, stop, True)
1159 if len(dates) == 0:
1160 return date2num([vmin, vmax])
1161 return self.raise_if_exceeds(date2num(dates))
1162
1163 def _create_rrule(self, vmin, vmax):
1164 # set appropriate rrule dtstart and until and return

Callers 4

__call__Method · 0.95
tick_valuesMethod · 0.45
tick_valuesMethod · 0.45

Calls 3

_create_rruleMethod · 0.95
date2numFunction · 0.85
raise_if_exceedsMethod · 0.80

Tested by 1