Skip to content

Commit

Permalink
Merge pull request #1100 from mdboom/doc_multi_version_master
Browse files Browse the repository at this point in the history
Doc multi version master
  • Loading branch information
mdboom committed Aug 19, 2012
2 parents 2847ad3 + f537d1e commit b3f6783
Show file tree
Hide file tree
Showing 19 changed files with 587 additions and 1,684 deletions.
6 changes: 4 additions & 2 deletions boilerplate.py
Expand Up @@ -42,7 +42,7 @@


PLOT_TEMPLATE = AUTOGEN_MSG + """
@autogen_docstring(Axes.%(func)s)
@_autogen_docstring(Axes.%(func)s)
def %(func)s(%(argspec)s):
%(ax)s = gca()
# allow callers to override the hold state by passing hold=True|False
Expand Down Expand Up @@ -216,7 +216,7 @@ def format_value(value):
call.append('%s' % arg)
else:
call.append('%s=%s' % (arg, arg))

if varargs is not None:
call.append('*'+varargs)
if varkw is not None:
Expand Down Expand Up @@ -286,6 +286,8 @@ def format_value(value):
for name in cmaps:
yield CMAP_TEMPLATE.format(name=name)

yield ''
yield '_setup_pyplot_info_docstrings()'

def build_pyplot():
pyplot_path = os.path.join(os.path.dirname(__file__), 'lib',
Expand Down

0 comments on commit b3f6783

Please sign in to comment.