File tree Expand file tree Collapse file tree 4 files changed +24
-17
lines changed
Filter options
Expand file tree Collapse file tree 4 files changed +24
-17
lines changed
Original file line number Diff line number Diff line change @@ -35,4 +35,5 @@ added to Matplotlib, see :ref:`whats-new`
35
35
36
36
api_changes_3.4/*
37
37
38
+ .. include :: prev_api_changes/api_changes_3.3.1.rst
38
39
.. include :: prev_api_changes/api_changes_3.3.0.rst
Original file line number Diff line number Diff line change 1
1
Deprecations
2
2
------------
3
-
4
- Reverted deprecation of ``num2epoch `` and ``epoch2num ``
5
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6
-
7
- These two functions were deprecated in 3.3.0, and did not return
8
- an accurate Matplotlib datenum relative to the new Matplotlib epoch
9
- handling (`~.dates.get_epoch ` and :rc: `date.epoch `). This version
10
- reverts the deprecation.
11
-
12
- Functions ``epoch2num `` and ``dates.julian2num `` use ``date.epoch `` rcParam
13
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
14
-
15
- Now `~.dates.epoch2num ` and (undocumented) ``julian2num `` return floating point
16
- days since `~.dates.get_epoch ` as set by :rc: `date.epoch `, instead of
17
- floating point days since the old epoch of "0000-12-31T00:00:00". If
18
- needed, you can translate from the new to old values as
19
- ``old = new + mdates.date2num(np.datetime64('0000-12-31')) ``
Original file line number Diff line number Diff line change
1
+ API Changes for 3.3.1
2
+ =====================
3
+
4
+ Deprecations
5
+ ------------
6
+
7
+ Reverted deprecation of ``num2epoch `` and ``epoch2num ``
8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9
+
10
+ These two functions were deprecated in 3.3.0, and did not return
11
+ an accurate Matplotlib datenum relative to the new Matplotlib epoch
12
+ handling (`~.dates.get_epoch ` and :rc: `date.epoch `). This version
13
+ reverts the deprecation.
14
+
15
+ Functions ``epoch2num `` and ``dates.julian2num `` use ``date.epoch `` rcParam
16
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17
+
18
+ Now `~.dates.epoch2num ` and (undocumented) ``julian2num `` return floating point
19
+ days since `~.dates.get_epoch ` as set by :rc: `date.epoch `, instead of
20
+ floating point days since the old epoch of "0000-12-31T00:00:00". If
21
+ needed, you can translate from the new to old values as
22
+ ``old = new + mdates.date2num(np.datetime64('0000-12-31')) ``
Original file line number Diff line number Diff line change 62
62
'api/prev_api_changes/api_changes_*/*' ,
63
63
# Be sure to update users/whats_new.rst:
64
64
'users/prev_whats_new/whats_new_3.3.0.rst' ,
65
+ 'users/prev_whats_new/whats_new_3.3.1.rst' ,
65
66
]
66
67
67
68
You can’t perform that action at this time.
0 commit comments