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

Method viewlim_to_dt

lib/matplotlib/dates.py:1101–1106  ·  view source on GitHub ↗

Convert the view interval to datetime objects.

(self)

Source from the content-addressed store, hash-verified

1099 return num2date(dmin, self.tz), num2date(dmax, self.tz)
1100
1101 def viewlim_to_dt(self):
1102 """Convert the view interval to datetime objects."""
1103 vmin, vmax = self.axis.get_view_interval()
1104 if vmin > vmax:
1105 vmin, vmax = vmax, vmin
1106 return num2date(vmin, self.tz), num2date(vmax, self.tz)
1107
1108 def _get_unit(self):
1109 """

Callers 3

__call__Method · 0.80
__call__Method · 0.80
__call__Method · 0.80

Calls 2

num2dateFunction · 0.85
get_view_intervalMethod · 0.45

Tested by

no test coverage detected