Skip to content
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 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
Copy Markdown
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
Copy Markdown
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