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

Support multi-version documentation on the website #1067

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 7 commits into from
Aug 17, 2012
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
Next Next commit
Add docstring to _setup_plot_info_docstrings
  • Loading branch information
mdboom committed Aug 17, 2012
commit 5a2d0a6722410744918813c7eaf9a0ff68827cda
8 changes: 8 additions & 0 deletions 8 lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1708,6 +1708,14 @@ def colormaps():


def _setup_pyplot_info_docstrings():
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know its not a public interface, but a docstring would be nice.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

"""
Generates the plotting and colormaps docstrings.

These must be done after the entire module is imported, so it is
called from the end of this module, which is generated by
boilerplate.py.
"""
# Generate the plotting docstring
import re

def pad(s, l):
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.