Skip to content

Commit

Permalink
Fix Clip.fl docstring (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
tburrows13 authored Jun 1, 2020
1 parent 5b44414 commit a1df46d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions moviepy/Clip.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@ def fl(self, fun, apply_to=None, keep_duration=True):
In the following ``newclip`` a 100 pixels-high clip whose video
content scrolls from the top to the bottom of the frames of
``clip``.
``clip`` at 50 pixels per second.
>>> fl = lambda gf,t : gf(t)[int(t):int(t)+50, :]
>>> fl = lambda gf, t : gf(t)[int(50 * t) : int(50 * t) + 100, :]
>>> newclip = clip.fl(fl, apply_to='mask')
"""
Expand Down

0 comments on commit a1df46d

Please sign in to comment.