Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9c20006

Browse files
jklymakQuLogic
andauthored
Apply suggestions from code review
Co-authored-by: Elliott Sales de Andrade <[email protected]>
1 parent 97d1685 commit 9c20006

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/next_api_changes/deprecations/17983-JMK.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ an accurate Matplotlib datenum relative to the new Matplotlib epoch
66
handling (`~.dates.get_epoch` and :rc:`date.epoch`). This version
77
reverts the deprecation.
88

9-
Functions `~.dates.epoch2num` and ``julian2num`` use :rc:`date.epoch`
9+
Functions ``epoch2num`` and ``dates.julian2num`` use ``date.epoch`` rcParam
1010
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111

1212
Now `~.dates.epoch2num` and (undocumented) ``julian2num`` return floating point

lib/matplotlib/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ def num2julian(n):
474474
Parameters
475475
----------
476476
n : float or sequence of floats
477-
Matplotlib date s (days relative to `.get_epoch`).
477+
Matplotlib dates (days relative to `.get_epoch`).
478478
479479
Returns
480480
-------

0 commit comments

Comments
 (0)