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

Method _get_unit

lib/matplotlib/dates.py:1108–1113  ·  view source on GitHub ↗

Return how many days a unit of the locator is; used for intelligent autoscaling.

(self)

Source from the content-addressed store, hash-verified

1106 return num2date(vmin, self.tz), num2date(vmax, self.tz)
1107
1108 def _get_unit(self):
1109 """
1110 Return how many days a unit of the locator is; used for
1111 intelligent autoscaling.
1112 """
1113 return 1
1114
1115 def _get_interval(self):
1116 """

Callers 2

nonsingularMethod · 0.95
__call__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected