We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64c84b4 + 188faa1 commit effc3bfCopy full SHA for effc3bf
lib/matplotlib/dates.py
@@ -1868,24 +1868,6 @@ def _get_interval(self):
1868
return self._interval
1869
1870
1871
-def _close_to_dt(d1, d2, epsilon=5):
1872
- """
1873
- Assert that datetimes *d1* and *d2* are within *epsilon* microseconds.
1874
1875
- delta = d2 - d1
1876
- mus = abs(delta.total_seconds() * 1e6)
1877
- assert mus < epsilon
1878
-
1879
1880
-def _close_to_num(o1, o2, epsilon=5):
1881
1882
- Assert that float ordinals *o1* and *o2* are within *epsilon*
1883
- microseconds.
1884
1885
- delta = abs((o2 - o1) * MUSECONDS_PER_DAY)
1886
- assert delta < epsilon
1887
1888
1889
def epoch2num(e):
1890
"""
1891
Convert an epoch or sequence of epochs to the new date format,
0 commit comments