Skip to content

Video editing with Python

Fix Clip.fl docstring (#1214)

Tom Burrowsa1df46d96b34
diff --git a/moviepy/Clip.py b/moviepy/Clip.py
index b48a30c8..fac0fab3 100644
--- a/moviepy/Clip.py
+++ b/moviepy/Clip.py
@@ -128,9 +128,9 @@ class Clip:
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')
"""