FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Doc multi version master by mdboom · Pull Request #1100 · matplotlib/matplotlib · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .html  (2) .py  (13) .rst  (4) All 3 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
6 changes: 4 additions & 2 deletions boilerplate.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL