We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04e1332 commit 4e5c68bCopy full SHA for 4e5c68b
doc/api/next_api_changes/removals/26852-OG.rst
@@ -2,4 +2,10 @@
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
4
... of the `.dates` module are removed without replacements. These were
5
-undocumented and not exported.
+undocumented and not exported. Julian dates in Matplotlib were calculated from the
6
+Julian date epoch:
7
+``jdate = (date - np.datetime64('-4713-11-24T12:00')) / np.timedelta64(1, 'D')``,
8
+A Julian date was converted to datetime as
9
+``date = np.timedelta64(int(jdate * 24 * 3600), 's') + np.datetime64('-4713-11-24T12:00')``.
10
+where some care needs to be taken with the accuracy of the ``timedelta64``. Given the various
11
+definitions of Julian date, users should exercise caution using these values.
0 commit comments