Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 4 additions & 2 deletions boilerplate.py
Original file line number Diff line number Diff line change
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
Loading