Skip to content

Commit fc271b9

Browse files
committed
Merge remote-tracking branch 'upstream/v1.1.x' into doc_multi_version_master
Conflicts: boilerplate.py lib/matplotlib/image.py lib/matplotlib/pyplot.py
2 parents d0c501b + a906f58 commit fc271b9

19 files changed

+583
-1683
lines changed

boilerplate.py

+4-2
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)