Skip to content

Commit

Permalink
Improve documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mondeja committed Jan 18, 2021
1 parent 884a154 commit 1f1ead4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions moviepy/video/compositing/CompositeVideoClip.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def clips_array(array, rows_widths=None, cols_heights=None, bg_color=None):
clips_array([[clip1, clip2, clip3], [clip4, clip5, clip6]])
```
will result in a CompositeVideoClip layout displayed like:
the result will be a CompositeVideoClip with a layout displayed like:
```
┏━━━━━━━┳━━━━━━━┳━━━━━━━┓
Expand All @@ -180,14 +180,14 @@ def clips_array(array, rows_widths=None, cols_heights=None, bg_color=None):
Matrix of clips included in the returned composited video clip.
rows_widths
Widths of the different rows in pixels. If None, is set automatically.
Widths of the different rows in pixels. If ``None``, is set automatically.
cols_heights
Heights of the different colums in pixels. If None, is set automatically.
Heights of the different colums in pixels. If ``None``, is set automatically.
bg_color
Fill color for the masked and unfilled regions. Set to None for these
regions to be transparent (will be slower).
Fill color for the masked and unfilled regions. Set to ``None`` for these
regions to be transparent (processing will be slower).
"""
array = np.array(array)
sizes_array = np.array([[clip.size for clip in line] for line in array])
Expand Down

0 comments on commit 1f1ead4

Please sign in to comment.