Python matplotlib.docstring.copy_dedent() Examples
The following are 7
code examples of matplotlib.docstring.copy_dedent().
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example.
You may also want to check out all available functions/classes of the module
matplotlib.docstring
, or try the search function
.
Example #1
Source File: pyplot.py From Computable with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = "\n\nAdditional kwargs: hold = [True|False] overrides default hold state" addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # This function cannot be generated by boilerplate.py because it may # return an image or a line.
Example #2
Source File: pyplot.py From matplotlib-4-abaqus with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = "\n\nAdditional kwargs: hold = [True|False] overrides default hold state" addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # This function cannot be generated by boilerplate.py because it may # return an image or a line.
Example #3
Source File: pyplot.py From neural-network-animation with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = "\n\nAdditional kwargs: hold = [True|False] overrides default hold state" addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # This function cannot be generated by boilerplate.py because it may # return an image or a line.
Example #4
Source File: pyplot.py From GraphicDesignPatternByPython with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = '' addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # If rcParams['backend_fallback'] is true, and an interactive backend is # requested, ignore rcParams['backend'] and force selection of a backend that # is compatible with the current running interactive framework.
Example #5
Source File: pyplot.py From python3_ios with BSD 3-Clause "New" or "Revised" License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = '' addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # If rcParams['backend_fallback'] is true, and an interactive backend is # requested, ignore rcParams['backend'] and force selection of a backend that # is compatible with the current running interactive framework.
Example #6
Source File: pyplot.py From coffeegrindsize with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" msg = '' addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # If rcParams['backend_fallback'] is true, and an interactive backend is # requested, ignore rcParams['backend'] and force selection of a backend that # is compatible with the current running interactive framework.
Example #7
Source File: pyplot.py From twitter-stock-recommendation with MIT License | 5 votes |
def _autogen_docstring(base): """Autogenerated wrappers will get their docstring from a base function with an addendum.""" #msg = "\n\nAdditional kwargs: hold = [True|False] overrides default hold state" msg = '' addendum = docstring.Appender(msg, '\n\n') return lambda func: addendum(docstring.copy_dedent(base)(func)) # This function cannot be generated by boilerplate.py because it may # return an image or a line.