-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
improve docstring of Axes.plot_date #10246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
lib/matplotlib/dates.py
Outdated
@@ -20,24 +41,22 @@ | |||
732403, whereas using the Gregorian calendar via the datetime | |||
module we find:: | |||
|
|||
In [31]:date(2006,4,1).toordinal() - date(1,1,1).toordinal() | |||
Out[31]:732401 | |||
In [1]: date(2006,4,1).toordinal() - date(1,1,1).toordinal() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may as well make this pep8-compliant (with spaces after commas)?
1bfc672
to
1b7bc13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 feel free to merge if the note can't live in the notes section.
lib/matplotlib/axes/_axes.py
Outdated
:class:`matplotlib.dates.AutoDateFormatter` (if the tick | ||
formatter is not already set to a | ||
:class:`matplotlib.dates.DateFormatter` instance). | ||
Note: If you are using custom date tickers and formatters, it may be |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this go in the notes section below?
1b7bc13
to
ca5bb47
Compare
Push committed the minor change, though @timhoffm let me know if that ruins your workflow, and I won't do again. Sorry for not asking first - I saw "dstansby" and my mind got confused. |
There seem to be a conflict, please backport manually |
improve docstring of Axes.plot_date Conflicts: lib/matplotlib/dates.py - both branches changed docstring, kept master version
Backport of PR #10246: Improve docstring of Axes.plot_date
PR Summary
As part of #10148: Docstring update for
Axes.plot_date
and part ofmatplotlib.dates
.