Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4bab03e

Browse filesBrowse files
committed
Move API changes to correct file.
1 parent b5cf43b commit 4bab03e
Copy full SHA for 4bab03e

File tree

Expand file treeCollapse file tree

4 files changed

+24
-17
lines changed
Filter options
Expand file treeCollapse file tree

4 files changed

+24
-17
lines changed

‎doc/api/api_changes.rst

Copy file name to clipboardExpand all lines: doc/api/api_changes.rst
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ added to Matplotlib, see :ref:`whats-new`
3535

3636
api_changes_3.4/*
3737

38+
.. include:: prev_api_changes/api_changes_3.3.1.rst
3839
.. include:: prev_api_changes/api_changes_3.3.0.rst
-17Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,2 @@
11
Deprecations
22
------------
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'))``
+22Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
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'))``

‎doc/conf.py

Copy file name to clipboardExpand all lines: doc/conf.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
'api/prev_api_changes/api_changes_*/*',
6363
# Be sure to update users/whats_new.rst:
6464
'users/prev_whats_new/whats_new_3.3.0.rst',
65+
'users/prev_whats_new/whats_new_3.3.1.rst',
6566
]
6667

6768

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.