8000 Remove long URL · matplotlib/matplotlib@1cf5aae · GitHub
[go: up one dir, main page]

Skip to content

Commit 1cf5aae

Browse files
committed
Remove long URL
1 parent 22613d2 commit 1cf5aae

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

lib/matplotlib/dates.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
1111
.. note::
1212
13-
Like Python's datetime, mpl uses the Gregorian calendar for all conversions
14-
between dates and floating point numbers. This practice is not universal,
15-
and calendar differences can cause confusing differences between what
16-
Python and mpl give as the number of days since 0001-01-01 and what other
17-
software and databases yield. For example, the `US Naval Observatory
18-
<http://www.usno.navy.mil/USNO/astronomical-applications/data-services/jul-date>`_
19-
uses a calendar that switches from Julian to Gregorian in October, 1582.
20-
Hence, using their calculator, the number of days between 0001-01-01 and
21-
2006-04-01 is 732403, whereas using the Gregorian calendar via the datetime
13+
Like Python's datetime, mpl uses the Gregorian calendar for all
14+
convrsions between dates and floating point numbers. This practice
15+
is not universal, and calendar differences can cause confusing
16+
differences between what Python and mpl give as the number of days
17+
since 0001-01-01 and what other software and databases yield. For
18+
example, the US Naval Observatory uses a calendar that switches
19+
from Julian to Gregorian in October, 1582. Hence, using their
20+
calculator, the number of days between 0001-01-01 and 2006-04-01 is
21+
732403, whereas using the Gregorian calendar via the datetime
2222
module we find::
2323
2424
In [31]:date(2006,4,1).toordinal() - date(1,1,1).toordinal()

0 commit comments

Comments
 (0)
0