Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 64c84b4 commit 188faa1Copy full SHA for 188faa1
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