8000 DOC: enable matplotlib plot_directive to include figures in docstrings by jorisvandenbossche · Pull Request #20015 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

DOC: enable matplotlib plot_directive to include figures in docstrings #20015

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

Merged
merged 2 commits into from
Mar 7, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
add close-figs context
  • Loading branch information
jorisvandenbossche committed Mar 6, 2018
commit 7b15c02f6333aed5dee6e827422c03ed339812a6
1 change: 1 addition & 0 deletions pandas/plotting/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2542,6 +2542,7 @@ def line(self, **kwds):
--------

.. plot::
:context: close-figs

>>> s = pd.Series([1, 3, 2])
>>> s.plot.line()
Expand Down
0