Fix style to Keyword Args

This commit is contained in:
Griatch 2020-10-12 21:13:06 +02:00
parent fcb6f19287
commit b449ebe3d4
55 changed files with 157 additions and 157 deletions

View file

@ -285,7 +285,7 @@ def wrap(text, width=_DEFAULT_WIDTH, **kwargs):
text (str): Text to wrap.
width (int, optional): Width to wrap `text` to.
Keyword args:
Keyword Args:
See TextWrapper class for available keyword args to customize
wrapping behaviour.
@ -306,7 +306,7 @@ def fill(text, width=_DEFAULT_WIDTH, **kwargs):
text (str): Text to fill.
width (int, optional): Width of fill area.
Keyword args:
Keyword Args:
See TextWrapper class for available keyword args to customize
filling behaviour.
@ -331,7 +331,7 @@ class EvCell(object):
Args:
data (str): The un-padded data of the entry.
Keyword args:
Keyword Args:
width (int): Desired width of cell. It will pad
to this size.
height (int): Desired height of cell. it will pad
@ -776,7 +776,7 @@ class EvCell(object):
"""
Reformat the EvCell with new options
Keyword args:
Keyword Args:
The available keyword arguments are the same as for `EvCell.__init__`.
Raises:
@ -935,7 +935,7 @@ class EvColumn(object):
Args:
Text for each row in the column
Keyword args:
Keyword Args:
All `EvCell.__init_` keywords are available, these
settings will be persistently applied to every Cell in the
column.
@ -950,7 +950,7 @@ class EvColumn(object):
coherent and lined-up column. Will enforce column-specific
options to cells.
Keyword args:
Keyword Args:
Extra keywords to modify the column setting. Same keywords
as in `EvCell.__init__`.
@ -982,7 +982,7 @@ class EvColumn(object):
use `ypos=0`. If not given, data will be inserted at the end
of the column.
Keyword args:
Keyword Args:
Available keywods as per `EvCell.__init__`.
"""
@ -1001,7 +1001,7 @@ class EvColumn(object):
"""
Change the options for the column.
Keyword args:
Keyword Args:
Keywords as per `EvCell.__init__`.
"""
@ -1016,7 +1016,7 @@ class EvColumn(object):
index (int): Index location of the cell in the column,
starting from 0 for the first row to Nrows-1.
Keyword args:
Keyword Args:
Keywords as per `EvCell.__init__`.
"""
@ -1056,7 +1056,7 @@ class EvTable(object):
Args:
Header texts for the table.
Keyword args:
Keyword Args:
table (list of lists or list of `EvColumns`, optional):
This is used to build the table in a quick way. If not
given, the table will start out empty and `add_` methods
@ -1210,7 +1210,7 @@ class EvTable(object):
nx (int): x size of table.
ny (int): y size of table.
Keyword args:
Keyword Args:
Keywords as per `EvTable.__init__`.
Returns:
@ -1537,7 +1537,7 @@ class EvTable(object):
Args:
args (str): These strings will be used as the header texts.
Keyword args:
Keyword Args:
Same keywords as per `EvTable.__init__`. Will be applied
to the new header's cells.
@ -1561,7 +1561,7 @@ class EvTable(object):
to input new column. If not given, column will be added to the end
of the table. Uses Python indexing (so first column is `xpos=0`)
Keyword args:
Keyword Args:
Other keywords as per `Cell.__init__`.
"""
@ -1625,7 +1625,7 @@ class EvTable(object):
input new row. If not given, will be added to the end of the table.
Uses Python indexing (so first row is `ypos=0`)
Keyword args:
Keyword Args:
Other keywords are as per `EvCell.__init__`.
"""
@ -1664,7 +1664,7 @@ class EvTable(object):
"""
Force a re-shape of the entire table.
Keyword args:
Keyword Args:
Table options as per `EvTable.__init__`.
"""
@ -1700,7 +1700,7 @@ class EvTable(object):
index (int): Which column to reformat. The column index is
given from 0 to Ncolumns-1.
Keyword args:
Keyword Args:
Column options as per `EvCell.__init__`.
Raises: