8000 Merge pull request #1100 from mdboom/doc_multi_version_master · matplotlib/matplotlib@b3f6783 · GitHub
[go: up one dir, main page]

Skip to content

Commit b3f6783

Browse files
committed
Merge pull request #1100 from mdboom/doc_multi_version_master
Doc multi version master
2 parents 2847ad3 + f537d1e commit b3f6783

File tree

19 files changed

+587
-1684
lines changed

19 files changed

+587
-1684
lines changed

boilerplate.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343

4444
PLOT_TEMPLATE = AUTOGEN_MSG + """
45-
@autogen_docstring(Axes.%(func)s)
45+
@_autogen_docstring(Axes.%(func)s)
4646
def %(func)s(%(argspec)s):
4747
%(ax)s = gca()
4848
# allow callers to override the hold state by passing hold=True|False
@@ -216,7 +216,7 @@ def format_value(value):
216216
call.append('%s' % arg)
217217
else:
218218
call.append('%s=%s' % (arg, arg))
219-
219+
220220
if varargs is not None:
221221
call.append('*'+varargs)
222222
if varkw is not None:
@@ -286,6 +286,8 @@ def format_value(value):
286286
for name in cmaps:
287287
yield CMAP_TEMPLATE.format(name=name)
288288

289+
yield ''
290+
yield '_setup_pyplot_info_docstrings()'
289291

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

0 commit comments

Comments
 (0)
0