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

Method __call__

lib/matplotlib/dates.py:1697–1704  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1695 return super().set_axis(axis)
1696
1697 def __call__(self):
1698 # if no data have been set, this will tank with a ValueError
1699 try:
1700 dmin, dmax = self.viewlim_to_dt()
1701 except ValueError:
1702 return []
1703
1704 return self.tick_values(dmin, dmax)
1705
1706 def tick_values(self, vmin, vmax):
1707 nmin, nmax = date2num((vmin, vmax))

Callers

nothing calls this directly

Calls 2

tick_valuesMethod · 0.95
viewlim_to_dtMethod · 0.80

Tested by

no test coverage detected