Permalink
Browse files

Merge pull request #1100 from mdboom/doc_multi_version_master

Doc multi version master
  • Loading branch information...
2 parents 2847ad3 + f537d1e commit b3f6783ae709d1af0d415fa9852501895ced72c9 @mdboom mdboom committed Aug 19, 2012
View
@@ -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
@@ -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:
@@ -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',
Oops, something went wrong. Retry.

0 comments on commit b3f6783

Please sign in to comment.