Doc string for Boxes.partsMatrix()

This commit is contained in:
Florian Festi 2018-08-23 22:18:16 +02:00
parent 3bb1f60f29
commit a99094b8d7
1 changed files with 8 additions and 0 deletions

View File

@ -1742,7 +1742,15 @@ class Boxes:
################################################## ##################################################
def partsMatrix(self, n, width, move, part, *l, **kw): def partsMatrix(self, n, width, move, part, *l, **kw):
"""place many of the same part
:param n: number of parts
:param width: number of parts in a row
:param move: (Default value = None)
:param part: callable that draws a part and knows move param
:param \*l: params for part
:param \*\*kw: keyword params for part
"""
if n <= 0: if n <= 0:
return return