Skip to content

Video editing with Python

Update deprecated function `set_pos` in documentation (#1190)

Julian7f59562c7382
diff --git a/docs/getting_started/quick_presentation.rst b/docs/getting_started/quick_presentation.rst
index 2561e406..6c983ac8 100644
--- a/docs/getting_started/quick_presentation.rst
+++ b/docs/getting_started/quick_presentation.rst
@@ -51,7 +51,7 @@ In a typical MoviePy script, you load video or audio files, modify them, put the
txt_clip = TextClip("My Holidays 2013",fontsize=70,color='white')
# Say that you want it to appear 10s at the center of the screen
- txt_clip = txt_clip.set_pos('center').set_duration(10)
+ txt_clip = txt_clip.set_position('center').set_duration(10)
# Overlay the text clip on the first video clip
video = CompositeVideoClip([clip, txt_clip])